Skip to content

Commit 2cbf37f

Browse files
committed
Fix Travis CI Docker ARG error
Must be running an old version of Docker. ```text ERROR: Dockerfile parse error line 18: ARG requires exactly one argument ```
1 parent bbd84b8 commit 2cbf37f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

{{cookiecutter.project_slug}}/backend/backend.dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ RUN bash -c "if [ $INSTALL_DEV == 'true' ] ; then poetry install --no-root ; els
1515
ARG INSTALL_JUPYTER=false
1616
RUN bash -c "if [ $INSTALL_JUPYTER == 'true' ] ; then pip install jupyterlab ; fi"
1717

18-
ARG BACKEND_APP_MODULE=app.main:app BACKEND_PRE_START_PATH=/app/prestart.sh
18+
ARG BACKEND_APP_MODULE=app.main:app
19+
ARG BACKEND_PRE_START_PATH=/app/prestart.sh
1920
ENV APP_MODULE=${BACKEND_APP_MODULE} PRE_START_PATH=${BACKEND_PRE_START_PATH}
2021
COPY ./app/ /app/

0 commit comments

Comments
 (0)