Files
WerkoutAPI/Dockerfile
2024-06-23 22:51:58 -05:00

17 lines
346 B
Docker

# syntax=docker/dockerfile:1
FROM python:3.9.13
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
RUN apt-get update
RUN apt-get install -y swig libssl-dev dpkg-dev netcat ffmpeg
RUN pip install -U pip
WORKDIR /code
COPY requirements.txt /code/
RUN pip install -r requirements.txt
COPY . /code/
RUN /code/manage.py collectstatic --noinput