set the port for the Docker container explicitly

This commit is contained in:
Jesse D. McDonald 2021-09-24 21:45:22 -05:00
parent c59a451d83
commit 52f5426e5a
1 changed files with 1 additions and 0 deletions

View File

@ -10,4 +10,5 @@ FROM node:16-alpine
MAINTAINER Jesse McDonald <nybble41@gmail.com> MAINTAINER Jesse McDonald <nybble41@gmail.com>
WORKDIR /app WORKDIR /app
COPY --from=0 /app . COPY --from=0 /app .
ENV PORT=80
CMD ["node", "./server.js"] CMD ["node", "./server.js"]