twenty/infra/dev/twenty-dev/Dockerfile
2023-05-25 16:58:33 +02:00

32 lines
543 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
WORKDIR /app/server
COPY ../../server/package.json .
COPY ../../server/package-lock.json .
RUN npm install
WORKDIR /app
COPY ../.. .
WORKDIR /app/server
RUN npx prisma generate
WORKDIR /app
CMD ["tail", "-f", "/dev/null"]