Initial commit
This commit is contained in:
19
Dockerfile.devel.yml
Normal file
19
Dockerfile.devel.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM docker.io/library/python:3.13-trixie
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
RUN apt-update \
|
||||
&& apt-upgrade -y \
|
||||
&& apt install -y gettext libxmlsec1-dev xmlsec1\
|
||||
#&& python -m pip install upgrade pip \
|
||||
&& pip install poetry \
|
||||
&& mkdir /app \
|
||||
&& mkdir -p /data/static /data/media
|
||||
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
|
||||
RUN poetry install --all-groups \
|
||||
&& chmod 0755 start-django.sh
|
||||
|
||||
EXPOSE 8000
|
||||
ENTRYPOINT ["/app/start-django.sh"]
|
||||
|
||||
Reference in New Issue
Block a user