Dockerfile copy all
This commit is contained in:
@@ -4,11 +4,10 @@ RUN apt-get update && apt-get install -y build-essential
|
||||
COPY requirements.txt .
|
||||
RUN pip install uwsgi
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
FROM python:3.8-slim-buster
|
||||
COPY --from=builder /opt/venv /opt/venv
|
||||
ENV PATH="/opt/venv/bin:$PATH"
|
||||
|
||||
WORKDIR /srv/
|
||||
COPY simple_sample .
|
||||
COPY run.py .
|
||||
COPY config.cfg .
|
||||
COPY . .
|
||||
|
||||
Reference in New Issue
Block a user