Files
WerkoutAPI/Dockerfile
Trey t c1751d2c94 WIP
2023-06-26 14:55:01 -05:00

17 lines
339 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
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