steamgifts-bot/Dockerfile
2022-05-13 22:33:10 -04:00

19 lines
325 B
Docker

FROM python:3.9-alpine
RUN mkdir -p /app
WORKDIR /app
RUN apk add tzdata --no-cache
ENV TZ=America/New_York
ENV VIRTUAL_ENV=/app/env
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
RUN python -m venv $VIRTUAL_ENV
COPY requirements.txt .
RUN pip3 install -r requirements.txt
COPY ./src/ /app/
VOLUME /config
CMD ["python3", "run.py"]