Skip to content

Commit 815d5d9

Browse files
point dockerfile to dist folder
1 parent 6304e82 commit 815d5d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ RUN npm run build
1212

1313
FROM nginx:1.19-alpine
1414

15-
COPY --from=build /app/build /usr/share/nginx/html
15+
COPY --from=build /app/dist /usr/share/nginx/html
1616

1717
COPY nginx.conf /etc/nginx/conf.d/default.conf
1818

1919
EXPOSE 80
2020

21-
CMD ["nginx", "-g", "daemon off;"]
21+
CMD ["nginx", "-g", "daemon off;"]

0 commit comments

Comments
 (0)