diff --git a/Dockerfile b/Dockerfile index 1b2887f..6a4e798 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" ] \ No newline at end of file +USER timetracker +CMD [ "python3", "src/web/manage.py", "runserver", "0.0.0.0:8000" ] \ No newline at end of file