Update Dockerfile

This commit is contained in:
qiaofeng1227 2023-03-23 16:03:38 +08:00 committed by GitHub
parent bc0073c083
commit afb16e6fc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,7 @@ WORKDIR /usr/src/app
# Copy sw and install pip dependencies # Copy sw and install pip dependencies
COPY api ./api COPY api ./api
COPY static ./static
COPY requirements.txt main.py ./ COPY requirements.txt main.py ./
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
RUN mkdir /data RUN mkdir /data