diff --git a/docker/Dockerfile b/Dockerfile similarity index 71% rename from docker/Dockerfile rename to Dockerfile index 8dc5108..0033914 100644 --- a/docker/Dockerfile +++ b/Dockerfile @@ -6,15 +6,16 @@ RUN apk add --update --no-cache \ gcc libc-dev libffi-dev # Upload and install Python package and dependencies -COPY ../apricot apricot -COPY ../pyproject.toml . -COPY ../README.md . +COPY ./apricot apricot +COPY ./pyproject.toml . +COPY ./README.md . RUN pip install --upgrade hatch pip +# Initialise environment with hatch RUN hatch run true # Install executable files and set permissions -COPY ../entrypoint.sh . -COPY ../run.py . +COPY ./docker/entrypoint.sh . +COPY ./run.py . RUN chmod ugo+x ./entrypoint.sh # Open appropriate ports