Commit b2c2b29c authored by Mike Shoup's avatar Mike Shoup

Update gunicorn images to use alpine linux

parent 69446430
FROM python:3
FROM python:3-alpine
WORKDIR /app
COPY requirements.txt .
......@@ -7,8 +7,7 @@ COPY falconbench falconbench/
RUN pip install -r requirements.txt
RUN pip install gunicorn
RUN useradd -M appuser
RUN chown -R appuser:appuser /app
RUN adduser -D -H appuser
USER appuser
EXPOSE 8000/tcp
......
FROM python:3
FROM python:3-alpine
WORKDIR /app
COPY requirements.txt .
......@@ -7,8 +7,7 @@ COPY flaskbench flaskbench/
RUN pip install -r requirements.txt
RUN pip install gunicorn
RUN useradd -M appuser
RUN chown -R appuser:appuser /app
RUN adduser -D -H appuser
USER appuser
EXPOSE 8000/tcp
......
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