Skip to content

Commit 6f1804b

Browse files
committed
Minor optimization of layers.
1 parent ea546cf commit 6f1804b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ FROM node:14-alpine AS final
2121
WORKDIR /app
2222
COPY --from=build /app /app
2323
ENV HTTP_PORT=8080 HTTPS_PORT=8443
24-
EXPOSE $HTTP_PORT
25-
EXPOSE $HTTPS_PORT
24+
EXPOSE $HTTP_PORT $HTTPS_PORT
2625
USER 1000
2726
CMD ["node", "./index.js"]

0 commit comments

Comments
 (0)