Skip to content
Snippets Groups Projects
Commit 305bfbc8 authored by David Trattnig's avatar David Trattnig
Browse files

New base image and default config.

parent 49568a4d
No related branches found
No related tags found
No related merge requests found
FROM python:3.7-alpine
FROM python:3.7-buster
# Initialize the project structure
......@@ -11,8 +11,13 @@ COPY . /srv
WORKDIR /srv
RUN pip3 install --no-cache-dir -r requirements.txt
# Create default config
COPY config/sample/gunicorn/sample-docker.gunicorn.conf.py /src/config/gunicorn.conf.py
# Start the API Server
EXPOSE 8008
ENTRYPOINT ["gunicorn"]
CMD ["-c", "config/gunicorn.conf.py", "engine-api.py:app"]
CMD ["-c", "/srv/config/gunicorn.conf.py", "src.server:app"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment