Update Dockerfile

This commit is contained in:
张露 2023-03-24 12:44:01 +08:00 committed by GitHub
parent 3e0d1b4614
commit d13e7f7a22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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