We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6526d36 commit 0ff84ecCopy full SHA for 0ff84ec
Dockerfile
@@ -1,6 +1,7 @@
1
# latest supported node version when this Dockerfile was written
2
ARG NODE_VERSION=22.12.0-alpine
3
ARG APP_DIR=/usr/src/parse
4
+ARG PORT=1337
5
6
# Builder stage
7
FROM node:${NODE_VERSION} AS builder
@@ -26,6 +27,6 @@ COPY --from=builder ${APP_DIR}/public ./public
26
27
28
VOLUME ["${APP_DIR}/cloud", "${APP_DIR}/logs"]
29
-EXPOSE 1337
30
+EXPOSE ${PORT}
31
32
CMD ["node", "index.js"]
0 commit comments