Commit f200d592 authored by Jonathan Schaeffer's avatar Jonathan Schaeffer
Browse files

gunicorn in last layer

parent a225342f
Pipeline #69012 passed with stage
in 3 minutes and 6 seconds
......@@ -2,13 +2,13 @@ FROM python:3.9-slim AS build
RUN apt-get update && apt-get install -y python3-dev libpq-dev build-essential
COPY requirements.txt /
RUN pip3 install --no-cache-dir -r /requirements.txt
RUN pip3 install --no-cache-dir gunicorn
FROM python:3.9-slim
RUN apt-get update && apt-get -y install gnupg
COPY setup/gpghome /gpghome
COPY --from=build /usr/local/lib/python3.9/site-packages/ /usr/local/lib/python3.9/site-packages
RUN pip3 install --no-cache-dir gunicorn
COPY eidawsauth/ /app/
CMD ["gunicorn", "-b", "", "eidawsauth"]
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