1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-07 22:45:23 +02:00

update docker configs

This commit is contained in:
Nikita Melnikov 2022-09-28 21:01:02 +08:00
parent 97257e185c
commit 214b10b189
3 changed files with 4 additions and 7 deletions

View file

@ -1,4 +1,4 @@
port: 4000
port: 3000
host: "localhost"
uploads: "./uploads"
password: secretpassword

View file

@ -9,9 +9,6 @@ services:
env_file:
- .env
volumes:
- ./.env:/usr/src/app/.env
- ./.codexdocsrc:/usr/src/app/.codexdocsrc:ro
- ./config/production.json:/usr/src/app/config/production.json:ro
- ./public/uploads:/uploads
- ./.db:/usr/src/app/.db
- /usr/src/app/node_modules
- ./db:/usr/src/app/db
- ./app-config.yaml:/usr/src/app/app-config.yaml

View file

@ -2,7 +2,7 @@
FROM node:16.14.0-alpine3.15 as build
## Install build toolchain, install node deps and compile native add-ons
RUN apk add --no-cache python3 make g++
RUN apk add --no-cache python3 make g++ git
WORKDIR /usr/src/app