mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-26 04:17:15 +03:00
chore: add prod dockerfile for server
This commit is contained in:
parent
f3b916f20b
commit
b82660667e
12
infra/prod/server/Dockerfile
Normal file
12
infra/prod/server/Dockerfile
Normal file
@ -0,0 +1,12 @@
|
||||
FROM node:18-alpine as server
|
||||
|
||||
RUN apk update && apk upgrade && \
|
||||
apk add --no-cache bash git openssh && \
|
||||
apk add libc6-compat
|
||||
|
||||
WORKDIR /app/server
|
||||
COPY ./server .
|
||||
|
||||
RUN npm install
|
||||
|
||||
CMD ["npm", "run", "start"]
|
Loading…
Reference in New Issue
Block a user