Skip to content

Commit

Permalink
Fix COPY with more than 2 arguments requires the last argument to end…
Browse files Browse the repository at this point in the history
  • Loading branch information
mjanez committed Sep 14, 2023
1 parent 117b3a4 commit 74835ef
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions ckan-pycsw/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ RUN apt-get -q -y update && \
python3 -m pip install pdm

WORKDIR ${APP_DIR}
COPY pyproject.toml pdm.lock .
COPY pyproject.toml pdm.lock ./

RUN pdm install --no-self --group prod

COPY ckan-pycsw/conf/pycsw.conf.template ckan-pycsw/docker-entrypoint.d/entrypoint.sh .
COPY ckan-pycsw/conf/pycsw.conf.template ckan-pycsw/docker-entrypoint.d/entrypoint.sh ./
COPY ckan2pycsw ckan2pycsw

EXPOSE ${PYCSW_PORT}/TCP
Expand Down
4 changes: 2 additions & 2 deletions ckan-pycsw/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ RUN apt-get -q -y update && \
python3 -m pip install pdm debugpy

WORKDIR ${APP_DIR}
COPY pyproject.toml pdm.lock .
COPY pyproject.toml pdm.lock ./

RUN pdm install --no-self --group prod

COPY ckan-pycsw/conf/pycsw.conf.template ckan-pycsw/docker-entrypoint.d/entrypoint_dev.sh .
COPY ckan-pycsw/conf/pycsw.conf.template ckan-pycsw/docker-entrypoint.d/entrypoint_dev.sh ./
COPY ckan2pycsw ckan2pycsw

EXPOSE ${PYCSW_PORT}/TCP
Expand Down
2 changes: 1 addition & 1 deletion ckan-pycsw/Dockerfile.ghcr
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ ENV PYCSW_CRON_DAYS_INTERVAL=2

WORKDIR ${APP_DIR}

COPY ckan-pycsw/conf/pycsw.conf.template ckan-pycsw/docker-entrypoint.d/entrypoint.sh .
COPY ckan-pycsw/conf/pycsw.conf.template ckan-pycsw/docker-entrypoint.d/entrypoint.sh ./

ENTRYPOINT ["/bin/bash", "./entrypoint.sh"]
2 changes: 1 addition & 1 deletion ckan-pycsw/Dockerfile.ghcr.dev
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ENV TIMEOUT=300

WORKDIR ${APP_DIR}

COPY ckan-pycsw/conf/pycsw.conf.template ckan-pycsw/docker-entrypoint.d/entrypoint_dev.sh .
COPY ckan-pycsw/conf/pycsw.conf.template ckan-pycsw/docker-entrypoint.d/entrypoint_dev.sh ./

EXPOSE ${PYCSW_PORT}/TCP
EXPOSE ${PYCSW_DEV_PORT}/TCP
Expand Down

0 comments on commit 74835ef

Please sign in to comment.