Skip to content

Commit

Permalink
fixes setuptools determination of version in docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
SandyRogers committed Jun 30, 2023
1 parent 89fbc23 commit c4997a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ RUN yum -y install python3 python3-devel python3-setuptools mysql-devel && \
RUN mkdir /opt/emgapi && mkdir -p /opt/staticfiles && mkdir -p /opt/results

COPY pyproject.toml /opt/emgapi/
COPY emgcli/__init__.py /opt/emgapi/emgcli/
# needed for VERSION

RUN pip3 install /opt/emgapi[dev,admin,tests]

Expand Down
2 changes: 2 additions & 0 deletions docker/lite.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ FROM python:3.8-bullseye
RUN mkdir /opt/emgapi && mkdir -p /opt/staticfiles && mkdir -p /opt/results

COPY pyproject.toml /opt/emgapi/
COPY emgcli/__init__.py /opt/emgapi/emgcli/
# needed for VERSION

RUN pip3 install /opt/emgapi[dev,admin,tests]

Expand Down

0 comments on commit c4997a2

Please sign in to comment.