mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-29 23:34:50 +03:00
e19a85a5d0
* Fix compose syntax error It turns out that docker compose does not like a literal `true` but it will accept a `"true"` string. * Added missing && operators
20 lines
389 B
Docker
20 lines
389 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 .
|
|
COPY ../../front/.npmrc .
|
|
RUN npm install
|
|
|
|
COPY ../../front .
|
|
|
|
CMD ["npm", "run", "start"]
|