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

add docker config and CI config (#109)

This commit is contained in:
Nikita Melnikov 2020-11-23 14:09:33 +03:00 committed by GitHub
parent 417ab0688b
commit e27bc52388
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 48 additions and 0 deletions

12
docker/Dockerfile.prod Normal file
View file

@ -0,0 +1,12 @@
FROM node:12.14.1-alpine3.11
WORKDIR /usr/src/app
RUN apk add --no-cache git gcc g++ python make musl-dev
COPY package.json yarn.lock ./
RUN yarn install --prod
COPY . .
CMD ["yarn", "start"]