chore: add prod dockerfile for server

This commit is contained in:
Sammy Teillet
2023-04-14 14:35:58 +02:00
parent f3b916f20b
commit b82660667e

View File

@@ -0,0 +1,12 @@
FROM node:18-alpine as server
RUN apk update && apk upgrade && \
apk add --no-cache bash git openssh && \
apk add libc6-compat
WORKDIR /app/server
COPY ./server .
RUN npm install
CMD ["npm", "run", "start"]