fix(ci): remove invalid variable (#934)
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user