Skip to content

Commit

Permalink
Fix installing correct Python version (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
hluk committed Dec 7, 2023
1 parent 7595936 commit bd1c1f1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN set -exo pipefail \
# install runtime dependencies
&& yum install -y \
--installroot=/mnt/rootfs \
--releasever=38 \
--releasever=39 \
--setopt install_weak_deps=false \
--nodocs \
--disablerepo=* \
Expand Down Expand Up @@ -85,6 +85,12 @@ WORKDIR /src

USER 1001
EXPOSE 8080

# Validate virtual environment
RUN /src/docker/docker-entrypoint.sh gunicorn --version \
&& /src/docker/docker-entrypoint.sh python -c \
'from product_listings_manager import __version__; print(__version__)'

ENTRYPOINT ["/src/docker/docker-entrypoint.sh"]
CMD [ \
"gunicorn", \
Expand Down

0 comments on commit bd1c1f1

Please sign in to comment.