Skip to content

Commit

Permalink
update the docker compose and made the wget less verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
ria-htkw committed Mar 30, 2024
1 parent edb4111 commit 927b59b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ COPY requirements.txt /usr/src/app/
RUN pip install --no-cache-dir -r requirements.txt

# Install FOP 2.9
RUN wget https://storage.googleapis.com/server8koalixnet_backup/fop-2.9-bin.tar.gz
RUN wget -nv https://storage.googleapis.com/server8koalixnet_backup/fop-2.9-bin.tar.gz
RUN tar -xzf fop-2.9-bin.tar.gz -C /usr/bin
RUN rm fop-2.9-bin.tar.gz
RUN chmod 755 /usr/bin/fop-2.9/fop/fop

# Install Java 8
RUN wget https://storage.googleapis.com/server8koalixnet_backup/jdk-8u181-linux-x64.tar.gz
RUN wget -nv https://storage.googleapis.com/server8koalixnet_backup/jdk-8u181-linux-x64.tar.gz
RUN tar -xzf jdk-8u181-linux-x64.tar.gz -C /usr/bin
RUN rm jdk-8u181-linux-x64.tar.gz

Expand Down
12 changes: 5 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
version: '3'
version: '3.8'

services:
web:
build: .
command: python manage.py runserver 0.0.0.0:8000
volumes:
- .:/usr/src/app
- ./data:/usr/src/app/data # Ensure this path matches where your SQLite DB is located
image: ghcr.io/koalixswitzerland/koalixcrm-dev-container:main
ports:
- "8000:8000"
- "8000:8000"
volumes:
- .:/usr/src/app

0 comments on commit 927b59b

Please sign in to comment.