dockered
This commit is contained in:
13
django/Dockerfile
Normal file
13
django/Dockerfile
Normal file
@ -0,0 +1,13 @@
|
||||
FROM python:slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN apt-get update && apt-get -y install gettext
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
ENTRYPOINT ["sh", "docker-entrypoint.sh"]
|
||||
CMD ["0.0.0.0:8000"]
|
Reference in New Issue
Block a user