Skip to content

Commit

Permalink
lighter docker rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
iandennismiller committed Jul 2, 2023
1 parent d594845 commit ddf5045
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ COPY gthnk_web /usr/local/src/gthnk/gthnk_web
COPY gthnk /usr/local/src/gthnk/gthnk
RUN /opt/gthnk/.venv/bin/pip3 install \
--disable-pip-version-check \
--no-cache-dir '/usr/local/src/gthnk[server]' && \
--no-deps \
--no-cache-dir \
'/usr/local/src/gthnk[server]' && \
chown -R gthnk:gthnk /opt/gthnk/.venv

USER gthnk
Expand Down

0 comments on commit ddf5045

Please sign in to comment.