steamgifts-bot/Dockerfile

20 lines
356 B
Text
Raw Normal View History

FROM python:3.9-alpine
RUN mkdir -p /app
WORKDIR /app
2022-05-14 00:47:15 -04:00
RUN apk add tzdata build-base libffi-dev py3-cffi --no-cache
2022-04-24 13:48:52 -04:00
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
2022-05-13 17:06:11 -04:00
COPY ./src/ /app/
2022-04-23 15:00:22 -04:00
VOLUME /config
2022-04-25 22:26:19 -04:00
CMD ["python3", "run.py"]