Skip to content

Commit

Permalink
feat: Update Docker base image
Browse files Browse the repository at this point in the history
  • Loading branch information
GeekMasher committed Nov 18, 2024
1 parent 1027e23 commit 3ce190b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:alpine3.19
FROM python:3.13-alpine

ARG user=python
ARG home=/home/$user
Expand All @@ -9,15 +9,14 @@ RUN adduser \
$user

USER python
ENV PATH "${PATH}:/home/${user}/.local/bin"
ENV PATH="${PATH}:/home/${user}/.local/bin"

WORKDIR /ghasreview

COPY . .

ENV PYTHONPATH "${PYTHONPATH}:/ghasreview"
ENV PYTHONPATH="/ghasreview"
RUN python3 -m pip install pipenv && \
python3 -m pipenv sync --system

#CMD ["python3", "-m", "ghasreview"]
CMD ["pipenv", "run", "production"]

0 comments on commit 3ce190b

Please sign in to comment.