Merge pull request #48 from 745719408/main

增加arm64环境Dockerfile
pull/72/head
StarsL.cn 2 years ago committed by GitHub
commit 716c8ef7c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,6 @@
FROM arm64v8/python:3.10.9
ADD . /flask
WORKDIR /flask
RUN pip3 install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple --no-cache-dir
EXPOSE 2026
CMD ["python3","./manager.py"]

@ -0,0 +1,9 @@
FROM node:14-buster AS builder
ADD . /vue
WORKDIR /vue
RUN npm install --registry=https://registry.npm.taobao.org && npm run build:prod
FROM llody/nginx:1.22.0-base
WORKDIR /www
COPY --from=builder /vue/http-ops.conf /etc/nginx/conf.d/default.conf
COPY --from=builder /vue/dist dist/
Loading…
Cancel
Save