Skip to content

Commit 5ce116c

Browse files
committed
complete dockerization of client
1 parent 746fe54 commit 5ce116c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

client/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ COPY . .
1111
RUN npm run build
1212

1313
FROM nginx:alpine
14-
COPY --from=build /usr/src/app/build /usr/share/nginx/html
1514

16-
EXPOSE 5173
15+
COPY --from=build /usr/src/app/dist /usr/share/nginx/html
1716

18-
CMD ["npm", "run", "dev"]
17+
EXPOSE 80
18+
19+
CMD ["nginx", "-g", "daemon off;"]

0 commit comments

Comments
 (0)