1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-07-18 20:59:42 +02:00
codex.docs/docker/Dockerfile.prod

15 lines
209 B
Text
Raw Normal View History

FROM node:16.14.0-alpine3.15
2020-11-23 14:09:33 +03:00
WORKDIR /usr/src/app
RUN apk add --no-cache git gcc g++ python3 make musl-dev
2020-11-23 14:09:33 +03:00
COPY package.json yarn.lock ./
RUN yarn install
2020-11-23 14:09:33 +03:00
COPY . .
RUN yarn compile
2020-11-23 14:09:33 +03:00
CMD ["yarn", "start"]