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

15 wiersze
279 B
Docker

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