mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-18 09:02:11 +03:00
18 lines
329 B
Docker
18 lines
329 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
|
|
RUN npx prisma generate
|
|
|
|
|
|
COPY ../../server .
|
|
|
|
|
|
CMD ["npm", "run", "start:dev"] |