colligit/Dockerfile

8 lines
162 B
Docker
Raw Permalink Normal View History

2023-01-19 15:15:05 +00:00
FROM node:18-alpine3.14
RUN apk update && apk upgrade && sync
EXPOSE 3000
WORKDIR /usr/app
COPY . /usr/app
RUN npm ci
ENV NODE_ENV production
CMD ["npm", "start"]