Skip to content

Commit

Permalink
docker
Browse files Browse the repository at this point in the history
  • Loading branch information
daviidarr committed Mar 26, 2024
1 parent 5e6dab1 commit ca0a62a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ WORKDIR $ACTUALYIELD_PATH

# Copy pip requirements before copying full project
USER $USER
COPY --chown=$USER:$USER /actualyield/requirements.txt $ACTUALYIELD_PATH
COPY --chown=$USER:$USER /requirements.txt $ACTUALYIELD_PATH

# Install Pip dependencies --> Need to install as root
RUN pip3 install -Ur $ACTUALYIELD_PATH/requirements.txt

# Now copy full project
COPY --chown=$USER:$USER /actualyield $ACTUALYIELD_PATH
COPY --chown=$USER:$USER / $ACTUALYIELD_PATH

RUN chmod +x $ACTUALYIELD_PATH/run.sh

Expand Down

0 comments on commit ca0a62a

Please sign in to comment.