pixelbattle/Dockerfile

11 lines
183 B
Docker
Raw 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"]
EXPOSE 7865 8080