Update Dockerfile
This commit is contained in:
parent
381884371e
commit
f974f3748e
|
@ -7,7 +7,8 @@ RUN pip install --no-cache-dir poetry
|
|||
RUN useradd --create-home --uid 1000 timetracker
|
||||
RUN git clone https://git.kucharczyk.xyz/lukas/timetracker.git /home/timetracker/app
|
||||
WORKDIR /home/timetracker/app
|
||||
RUN chown -R timetracker /home/timetracker/app
|
||||
RUN poetry install
|
||||
USER timetracker
|
||||
EXPOSE 8000
|
||||
CMD [ "python3", "src/web/manage.py", "runserver" ]
|
||||
USER timetracker
|
||||
CMD [ "python3", "src/web/manage.py", "runserver", "0.0.0.0:8000" ]
|
Loading…
Reference in New Issue