-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
modified:
FROM hub.zuole.net/library/node:20-alpine
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
RUN apk add --no-cache
py3-pip
py3-setuptools
python3
make
g++
sqlite-dev
RUN ln -sf /usr/bin/python3 /usr/bin/python
WORKDIR /usr/src/app
RUN npm config set registry https://mirrors.cloud.tencent.com/npm/
COPY package*.json ./
RUN npm install --timeout=600000
COPY . .
RUN mkdir -p /usr/src/app/data &&
chmod -R 777 /usr/src/app/data
EXPOSE 8888
ENV NODE_ENV=production
PORT=8888
CMD ["node", "app.js"]
Metadata
Metadata
Assignees
Labels
No labels