Skip to content

Commit

Permalink
fix default app compose build target (#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuadavidthomas authored Aug 2, 2024
1 parent 1768437 commit 3643b70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Fixed

- Fixed reference to correct `lock` command in `just docs upgrade` just command.
- Changed the `default-app` build target from `app` to `dev`. This fixes an error running the stack in development where the worker container does not have the development dependencies installed.

## [2024.40]

Expand Down
4 changes: 1 addition & 3 deletions src/django_twc_project/compose.yml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ x-default-app: &default-app
build:
context: .
dockerfile: Dockerfile
target: app
target: dev
env_file: .env
init: true
user: "${UID:-1000}:${GID:-1000}"
Expand All @@ -17,8 +17,6 @@ x-default-app: &default-app
services:
app:
<<: *default-app
build:
target: dev
command: python manage.py runserver 0.0.0.0:8000 --skip-checks
{%- if include_vite %}
depends_on:
Expand Down

0 comments on commit 3643b70

Please sign in to comment.