Skip to content

Commit f797b99

Browse files
author
Ariadne Engelbrecht
committed
Update dockerfile to set is_local to false.
1 parent fc4dd6d commit f797b99

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

week_11__final-project/spelling_bee/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ RUN --mount=type=cache,target=/root/.cache/pip \
3535

3636
# Copy the source code into the container.
3737
COPY . .
38+
# Copy the `app.py` file to `app.py.bak` in the container and replace the `is_local = True` value in `app.py.bak` with `is_local = False` and write the result to `app.py`.
3839
RUN cp app.py app.py.bak \
3940
&& sed 's/is_local = True/is_local = False/g' app.py.bak > app.py
4041
RUN chmod +x ./run.sh \

0 commit comments

Comments
 (0)