Constnium/Dockerfile

14 lines
159 B
Text
Raw Normal View History

2022-06-23 20:58:56 +02:00
# syntax=docker/dockerfile:1
FROM node:16.15.0-alpine3.15
WORKDIR /app
COPY . .
RUN npm install --production
EXPOSE 3000
CMD [ "node", "src/server.js" ]