Skip to content

Commit

Permalink
fix: change path to yarn.lock
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip Forsberg committed Feb 15, 2024
1 parent 587da16 commit f09b0aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM node:20.6.1-alpine3.18 as develop
WORKDIR /app
RUN apk add openssl1.1-compat
COPY package.json yarn.lock ./
COPY package.json ../../yarn.lock ./
RUN echo
RUN yarn
COPY tsconfig.json ./
Expand All @@ -13,7 +13,7 @@ RUN yarn build --webpack
FROM node:16-alpine3.17 as prod
WORKDIR /app
COPY --from=build /app/dist /app/dist
COPY package.json yarn.lock ./
COPY package.json ../../yarn.lock ./
RUN yarn install --production
COPY tsconfig.json ./
COPY ormconfig.prod.js ./ormconfig.js
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM node:20.6.1-alpine3.18 as develop
WORKDIR /app
COPY package.json yarn.lock ./
COPY package.json ../../yarn.lock ./
RUN yarn
COPY . .

Expand Down

0 comments on commit f09b0aa

Please sign in to comment.