mirror of
https://github.com/philip306/countapi.git
synced 2024-06-15 10:55:23 +03:00
15 lines
276 B
Docker
15 lines
276 B
Docker
FROM ubuntu
|
|
|
|
COPY requirements.txt /
|
|
|
|
RUN apt-get update \
|
|
&& DEBIAN_FRONTEND=noninteractive apt-get install -y python3.6 python3-pip
|
|
|
|
RUN pip3 install -r /requirements.txt
|
|
|
|
EXPOSE 8000
|
|
|
|
COPY ./app /app
|
|
|
|
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
|