Skip to content

Commit 092ab1f

Browse files
committed
fixed docker setup for gv
1 parent 7b1f387 commit 092ab1f

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ FROM gv-base AS dev
2929

3030
# install dev and non-dev dependencies:
3131
RUN curl -sSL https://install.python-poetry.org | python3 - --version 1.8.3
32-
RUN python -m venv .venv
32+
RUN poetry config virtualenvs.create false
3333
RUN poetry install --without release
3434

3535
COPY . /code/

docker-compose.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ services:
3636
celeryworker:
3737
build:
3838
context: .
39-
target: gv-deploy
39+
target: dev
4040
restart: unless-stopped
4141
command: python -m celery --app app worker --uid daemon -l info
4242
depends_on:
@@ -50,7 +50,7 @@ services:
5050
celerybeat:
5151
build:
5252
context: .
53-
target: gv-deploy
53+
target: dev
5454
restart: unless-stopped
5555
command: python -m celery --app app beat --uid daemon -l info
5656
depends_on:
@@ -77,8 +77,6 @@ services:
7777
- rabbitmq_vol:/var/lib/rabbitmq
7878
stdin_open: true
7979

80-
81-
8280
volumes:
8381
postgres_data_vol:
8482
external: false

0 commit comments

Comments
 (0)