Skip to content

Commit

Permalink
Createa docker compose file #133
Browse files Browse the repository at this point in the history
  • Loading branch information
VKTB committed Nov 14, 2024
1 parent 0fb5fa1 commit 5d49497
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ WORKDIR /app
COPY --from=base /app/requirements-*.txt ./
COPY scigateway_auth/ scigateway_auth/
COPY maintenance/ maintenance/
COPY keys/ keys/

RUN --mount=type=cache,target=/root/.cache \
set -eux; \
Expand Down
14 changes: 14 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
services:
scigateway-auth:
container_name: scigateway-auth
build:
context: .
target: dev
volumes:
- ./scigateway_auth:/app/scigateway_auth
- ./keys:/app/keys
- ./maintenance/maintenance.json:/app/maintenance/maintenance.json
- ./maintenance/scheduled_maintenance.json:/app/maintenance/scheduled_maintenance.json
ports:
- 8000:8000
restart: on-failure

0 comments on commit 5d49497

Please sign in to comment.