socketify.py/examples/docker/python3/Dockerfile

15 wiersze
227 B
Docker
Czysty Zwykły widok Historia

2022-05-29 02:18:03 +00:00
FROM python:3
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN apt-get update
2022-10-24 17:15:46 +00:00
RUN apt install libuv1-dev libssl-dev -y
2022-05-29 02:18:03 +00:00
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 3000
CMD [ "python", "./main.py" ]