ca42/Dockerfile

15 lines
260 B
Docker
Raw Normal View History

2024-10-03 10:25:35 -04:00
FROM python:alpine
WORKDIR /app
RUN apk update && apk upgrade
RUN apk add python3 py3-pip
RUN python3 -m pip config set global.require-virtualenv False
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
ENTRYPOINT ["python3", "main.py"]