mirror of
https://github.com/asimonson1125/asimonson1125.github.io.git
synced 2026-02-24 21:09:49 -06:00
14 lines
399 B
Docker
14 lines
399 B
Docker
FROM docker.io/python:3.8-buster
|
|
LABEL maintainer="Andrew Simonson <asimonson1125@gmail.com>"
|
|
|
|
WORKDIR /app
|
|
ADD ./src /app
|
|
COPY ./requirements.txt requirements.txt
|
|
RUN apt-get -yq update && \
|
|
pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY . .
|
|
|
|
WORKDIR /app/src
|
|
|
|
CMD [ "gunicorn", "-k" , "geventwebsocket.gunicorn.workers.GeventWebSocketWorker", "--bind", "0.0.0.0:8080", "application:app"] |