twenty/infra/dev/front/Dockerfile
2023-05-03 17:32:22 +02:00

19 lines
363 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 && \
apk add python3 && \
apk add make && \
apk add g++
WORKDIR /app/front
COPY ../../front/package.json .
COPY ../../front/package-lock.json .
RUN npm install
COPY ../../front .
CMD ["npm", "run", "start"]