apollo/Dockerfile

17 lines
249 B
Docker
Raw Normal View History

2024-12-06 01:57:10 -05:00
FROM node:18.19.0
ENV APP_DIR=/app
ENV CONFIG_DIR=/config
ENV LOGS_DIR=/logs
ENV WEB_PORT=9011
RUN mkdir -p ${APP_DIR}/node_modules
WORKDIR ${APP_DIR}
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE ${WEB_PORT}
2024-12-06 13:18:17 -05:00
CMD ["npm", "run", "start"]