Enfore port and host for possible bug fix
This commit is contained in:
@@ -25,6 +25,8 @@ COPY --from=builder /app/package-lock.json ./
|
||||
# Install production dependencies only (including dotenv)
|
||||
RUN npm ci --omit=dev
|
||||
|
||||
ENV HOST=0.0.0.0
|
||||
ENV PORT=3001
|
||||
EXPOSE 3001
|
||||
|
||||
CMD ["node", "-r", "dotenv/config", "build"]
|
||||
Reference in New Issue
Block a user