Docker support #19

Merged
Anri merged 5 commits from docker into main 2022-07-03 19:19:10 +02:00
Showing only changes of commit 890703275a - Show all commits

17
docker/Dockerfile Normal file
View file

@ -0,0 +1,17 @@
# syntax=docker/dockerfile:1
FROM node:16.15.0-alpine3.15
RUN apk add dumb-init
ENV NODE_ENV=production
USER botanique
WORKDIR /app
COPY --chown=botanique:botanique . .
RUN npm ci --only=production
CMD ["dumb-init", "node", "src/index.js"]