pixelbattle/Dockerfile

11 lines
183 B
Docker
Raw Permalink Normal View History

2023-08-01 15:30:53 +03:00
FROM node:18-alpine
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm ci --omit=dev
COPY html ./html
COPY views ./views
COPY src ./src
CMD ["node", "src/index.js"]
2024-04-06 05:53:37 +03:00
EXPOSE 7865 8080