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:
parent
417ab0688b
commit
e27bc52388
3 changed files with 48 additions and 0 deletions
12
docker/Dockerfile.prod
Normal file
12
docker/Dockerfile.prod
Normal 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"]
|
Loading…
Add table
Add a link
Reference in a new issue