mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-08 15:05:26 +02:00
update docker configs
This commit is contained in:
parent
97257e185c
commit
214b10b189
3 changed files with 4 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
||||||
port: 4000
|
port: 3000
|
||||||
host: "localhost"
|
host: "localhost"
|
||||||
uploads: "./uploads"
|
uploads: "./uploads"
|
||||||
password: secretpassword
|
password: secretpassword
|
||||||
|
|
|
@ -9,9 +9,6 @@ services:
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
volumes:
|
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
|
- ./public/uploads:/uploads
|
||||||
- ./.db:/usr/src/app/.db
|
- ./db:/usr/src/app/db
|
||||||
- /usr/src/app/node_modules
|
- ./app-config.yaml:/usr/src/app/app-config.yaml
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
FROM node:16.14.0-alpine3.15 as build
|
FROM node:16.14.0-alpine3.15 as build
|
||||||
|
|
||||||
## Install build toolchain, install node deps and compile native add-ons
|
## 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
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue