mirror of
https://github.com/rjNemo/villafleurie
synced 2026-06-06 02:16:47 +00:00
14 lines
No EOL
310 B
Docker
14 lines
No EOL
310 B
Docker
FROM python:3.7
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends \
|
|
postgresql-client \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /usr/src/app
|
|
COPY requirements.txt ./
|
|
RUN pip install -r requirements.txt
|
|
COPY . .
|
|
|
|
EXPOSE 8000
|
|
CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"] |