Skip to content

Commit

Permalink
Fix DOCKERFILE_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
mjanez authored Feb 8, 2024
1 parent c5b2200 commit 50620a7
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-manual.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ env:
IMAGE_NAME: ${{ github.repository }}
CONTEXT: .
BRANCH: ${{ github.ref_name }}
DOCKERFILE_PATH: .
DOCKERFILE_PATH: /ckan-mqa
DOCKERFILE: Dockerfile

jobs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-pr.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test ckan-pycsw images (PR)
name: Test ckan-mqa images (PR)

on:
pull_request:
Expand All @@ -11,7 +11,7 @@ env:
IMAGE_NAME: ${{ github.repository }}
CONTEXT: .
BRANCH: ${{ github.head_ref }}
DOCKERFILE_PATH: .
DOCKERFILE_PATH: /ckan-mqa
DOCKERFILE: Dockerfile
HADOLINT_VERSION: 2.12.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:
IMAGE_NAME: ${{ github.repository }}
CONTEXT: .
BRANCH: ${{ github.head_ref }}
DOCKERFILE_PATH: .
DOCKERFILE_PATH: /ckan-mqa
DOCKERFILE: Dockerfile

jobs:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile → ckan-mqa/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ COPY pyproject.toml pdm.lock .

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

COPY ckan-mqa/entrypoint.sh entrypoint.sh
COPY ckan-mqa/docker-entrypoint.d/entrypoint.sh entrypoint.sh
COPY ckan2mqa ckan2mqa

ENTRYPOINT ["/bin/bash", "./entrypoint.sh"]
4 changes: 2 additions & 2 deletions Dockerfile.dev → ckan-mqa/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ COPY pyproject.toml pdm.lock .

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

COPY ckan-mqa/entrypoint_dev.sh entrypoint.sh
COPY ckan-mqa/docker-entrypoint.d/entrypoint_dev.sh entrypoint.sh
COPY ckan2mqa ckan2mqa

EXPOSE 5678/TCP

# Set entrypoint with debugpy
ENTRYPOINT ["python3", "-m", "debugpy", "--listen", "0.0.0.0:5678", "--wait-for-client", "./entrypoint_dev.sh"]
ENTRYPOINT ["python3", "-m", "debugpy", "--listen", "0.0.0.0:5678", "--wait-for-client", "./ckan-mqa/docker-entrypoint.d/entrypoint_dev.sh"]
CMD ["tail", "-f", "/dev/null"]
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
container_name: ckan-mqa-dev
build:
context: .
dockerfile: Dockerfile.dev
dockerfile: ckan-mqa/Dockerfile.dev
env_file:
- .env
logging:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
container_name: ckan-mqa
build:
context: .
dockerfile: Dockerfile
dockerfile: ckan-mqa/Dockerfile
image: ghcr.io/mjanez/ckan-mqa:latest
env_file:
- .env
Expand Down

0 comments on commit 50620a7

Please sign in to comment.