add: support custom headers
This commit is contained in:
17
Dockerfile
17
Dockerfile
@@ -4,7 +4,21 @@ WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm ci --ignore-scripts && \
|
||||
|
||||
RUN npm install
|
||||
|
||||
|
||||
RUN cd client && \
|
||||
npm install && \
|
||||
npm run build
|
||||
|
||||
|
||||
RUN cd server && \
|
||||
npm install && \
|
||||
npm run build
|
||||
|
||||
RUN cd cli && \
|
||||
npm install && \
|
||||
npm run build
|
||||
|
||||
FROM node:20-alpine
|
||||
@@ -22,5 +36,4 @@ RUN npm ci --omit=dev --ignore-scripts
|
||||
|
||||
ENV NODE_ENV=production
|
||||
|
||||
|
||||
CMD ["node", "client/bin/start.js"]
|
||||
|
||||
Reference in New Issue
Block a user