set the port for the Docker container explicitly
This commit is contained in:
parent
c59a451d83
commit
52f5426e5a
|
|
@ -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"]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue