Update Dockerfile

This commit is contained in:
张露 2023-03-24 12:35:55 +08:00 committed by GitHub
parent 607104a13f
commit 3e96ff0bc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,8 +5,8 @@ LABEL maintainer="Websoft9<help@websoft9.com>"
WORKDIR /usr/src/app
# Copy sw and install pip dependencies
COPY api ./api
COPY static ./static
COPY api ./api/
COPY static ./static/
COPY requirements.txt main.py ./
RUN pip install -r requirements.txt
RUN mkdir /data