pixelbattle/Dockerfile

11 lines
183 B
Docker

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