Dockerfile copy all

This commit is contained in:
2021-11-17 20:12:27 +00:00
parent 252d27d23f
commit 1914dacc97

View File

@@ -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 . .