Commit 8ef0dd2a authored by JackV's avatar JackV
Browse files

Make the Dockerfile cache more if requirements.txt isn't changed

parent 0cb1df41
......@@ -4,12 +4,12 @@ RUN apk add -U python3 py3-gunicorn
RUN mkdir /uus
WORKDIR /uus
COPY uus.py /uus
COPY admin /uus/admin
COPY requirements.txt /uus
RUN pip3 install -r requirements.txt
COPY uus.py /uus
COPY admin /uus/admin
EXPOSE 8000
ENTRYPOINT gunicorn -b 0.0.0.0 -w 4 uus:app
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment