Skip to content

Commit a731b8b

Browse files
committed
chore: small changes dockerfile
1 parent 26cb077 commit a731b8b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.dockerignore

+1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ yarn-debug.log*
1414
yarn-error.log*
1515

1616
.yarn/cache
17+
db.json
1718
backend/data/db.json

docker/zero-ui/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ FROM node:lts-alpine
1717
WORKDIR /app/frontend/build
1818
COPY --link --from=frontend-build /app/frontend/build /app/frontend/build/
1919

20-
WORKDIR /app/backend
20+
WORKDIR /app/
2121
COPY --link package.json yarn.lock* .yarnrc.yml ./
2222
COPY --link .yarn/ ./.yarn
23+
WORKDIR /app/backend
2324
COPY --link ./backend/package.json /app/backend
2425
RUN yarn workspaces focus --production backend && yarn cache clean
2526

0 commit comments

Comments
 (0)