twenty/infra/dev/front/Dockerfile
Anders Borch e19a85a5d0
Build fixes (#76)
* 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
2023-04-26 09:53:11 +02:00

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"]