File tree 3 files changed +1
-10
lines changed
3 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,7 @@ RUN curl -sSL https://install.python-poetry.org | POETRY_HOME=/opt/poetry python
11
11
# Copy poetry.lock* in case it doesn't exist in the repo
12
12
COPY ./pyproject.toml ./poetry.lock* /app/
13
13
14
- # Allow installing dev dependencies to run tests
15
- ARG INSTALL_DEV=false
16
- RUN bash -c "if [ $INSTALL_DEV == 'true' ] ; then poetry install --no-root ; else poetry install --no-root --only main ; fi"
14
+ RUN poetry install --no-root
17
15
18
16
ENV PYTHONPATH=/app
19
17
Original file line number Diff line number Diff line change @@ -58,12 +58,9 @@ services:
58
58
backend :
59
59
restart : " no"
60
60
ports :
61
- - " 8888:8888"
62
61
- " 8000:8000"
63
62
build :
64
63
context : ./backend
65
- args :
66
- INSTALL_DEV : ${INSTALL_DEV-true}
67
64
# command: sleep infinity # Infinite loop to keep container alive doing nothing
68
65
command :
69
66
- fastapi
Original file line number Diff line number Diff line change @@ -46,8 +46,6 @@ services:
46
46
image : ' ${DOCKER_IMAGE_BACKEND?Variable not set}:${TAG-latest}'
47
47
build :
48
48
context : ./backend
49
- args :
50
- INSTALL_DEV : ${INSTALL_DEV-false}
51
49
networks :
52
50
- traefik-public
53
51
- default
@@ -118,8 +116,6 @@ services:
118
116
119
117
build :
120
118
context : ./backend
121
- args :
122
- INSTALL_DEV : ${INSTALL_DEV-false}
123
119
labels :
124
120
- traefik.enable=true
125
121
- traefik.docker.network=traefik-public
You can’t perform that action at this time.
0 commit comments