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

17 lines
321 B
Docker

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