Skip to content

Commit

Permalink
updated docker path and moved it to root directory
Browse files Browse the repository at this point in the history
  • Loading branch information
hpatel426 committed Oct 18, 2023
1 parent 407c978 commit 20d49fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
10 changes: 6 additions & 4 deletions docker/Dockerfile → Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ RUN apt-get update \
#hdf5-helpers \
&& pip3 install --upgrade pip \
&& pip3 install cython \
&& apt-get clean \
&& pip3 install poetry
&& pip3 install poetry \
&& apt-get clean


# Create a new user
RUN adduser --quiet --disabled-password --shell /bin/sh --home /home/dockeruser --gecos "" --uid 1000 dockeruser
Expand All @@ -28,12 +29,13 @@ ARG DIST_PATH

USER root
RUN mkdir -p /worker && chown dockeruser /worker
COPY ../pyproject.toml /worker
COPY pyproject.toml /worker
# COPY ../pyproject.toml /worker
USER dockeruser

WORKDIR /worker

ENV PYTHONPATH=${PYTHONPATH}:${PWD}
# ENV PYTHONPATH=${PYTHONPATH}:${PWD}

COPY --chown=dockeruser $DIST_PATH $DIST_PATH
USER dockeruser
Expand Down
8 changes: 0 additions & 8 deletions docker/Readme.md

This file was deleted.

0 comments on commit 20d49fa

Please sign in to comment.