fix(ci): remove invalid variable (#934)

This commit is contained in:
ttimochan
2023-01-13 14:30:41 +08:00
committed by GitHub
parent 82c9d206d1
commit 40faa3502c
3 changed files with 3 additions and 4 deletions

View File

@@ -4,5 +4,4 @@ JWT_SECRET=asffasgvxczfqreqw213
ALLOWED_ORIGINS=innei.ren,www.innei.ren
# must be 64bit
ENCRYPT_KEY=593f62860255feb0a914534a43814b9809cc7534da7f5485cd2e3d3c8609acab
ENCRYPT_ENABLE=true
ENCRYPT_KEY=593f62860255feb0a914534a43814b9809cc7534da7f5485cd2e3d3c8609acab

View File

@@ -4,7 +4,7 @@ services:
app:
container_name: mx-server
image: innei/mx-server:latest
command: node index.js --redis_host=redis --db_host=mongo --allowed_origins=${ALLOWED_ORIGINS} --jwt_secret=${JWT_SECRET} --color --encrypt_key={ENCRYPT_KEY} --encrypt_enable={ENCRYPT_ENABLE}
command: node index.js --redis_host=redis --db_host=mongo --allowed_origins=${ALLOWED_ORIGINS} --jwt_secret=${JWT_SECRET} --color --encrypt_key={ENCRYPT_KEY}
environment:
- TZ=Asia/Shanghai
- NODE_ENV=production

View File

@@ -1,7 +1,7 @@
FROM node:16-alpine as builder
WORKDIR /app
COPY . .
RUN apk add git make gcc g++ alpine-sdk python3 py3-pip unzip
RUN apk add git make g++ alpine-sdk python3 py3-pip unzip
RUN git clone https://github.com/mx-space/assets.git --depth=1
RUN rm -rf assets/.git
RUN npm i -g pnpm