Skip to content

Commit

Permalink
Fix copy multiple files
Browse files Browse the repository at this point in the history
  • Loading branch information
hardillb committed Aug 27, 2023
1 parent 2291f74 commit c2c3357
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ RUN apk add --no-cache --update \

RUN pip install --user --no-cache-dir mdns-publisher

COPY package.json package-lock.json .
RUN npm ci --production
COPY package.json package-lock.json ./
RUN npm ci --omit=dev

# Build application
FROM base as build-image

WORKDIR /usr/src/app

# app
COPY cname.py index.js .
COPY cname.py index.js ./
# npm packages
COPY --from=compile-image /usr/src/app/node_modules node_modules
# pip packages
Expand Down

0 comments on commit c2c3357

Please sign in to comment.