twenty/infra/dev/server/Dockerfile
2023-04-18 16:21:38 +02:00

16 lines
300 B
Docker

FROM node:18.16.0-alpine as server
RUN apk update && apk upgrade && \
apk add --no-cache bash git openssh && \
apk add libc6-compat
WORKDIR /app/server
COPY ../../server/package.json .
COPY ../../server/package-lock.json .
RUN npm install
COPY ../../server .
CMD ["npm", "run", "start"]