socketify.py/examples/docker/python3-alpine/Dockerfile

15 wiersze
279 B
Docker
Czysty Zwykły widok Historia

2022-11-09 13:13:17 +00:00
FROM python:3.11-alpine
2022-05-29 02:18:03 +00:00
WORKDIR /usr/src/app
COPY requirements.txt ./
2022-11-09 13:13:17 +00:00
RUN apk add --no-cache libuv-dev git openssl-dev libffi-dev build-base python3-dev libstdc++ gcompat
2022-05-29 02:18:03 +00:00
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 3000
CMD [ "python", "./main.py" ]