File tree Expand file tree Collapse file tree
week_11__final-project/spelling_bee Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,6 +35,8 @@ RUN --mount=type=cache,target=/root/.cache/pip \
3535
3636# Copy the source code into the container.
3737COPY . .
38+ RUN cp app.py app.py.bak \
39+ && sed 's/is_local = True/is_local = False/g' app.py.bak > app.py
3840RUN chmod +x ./run.sh \
3941 && chown -R appuser:appuser /app
4042
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ The game is played as follows:
2626 - [ Configuration] ( #configuration )
2727 - [ Run the app] ( #run-the-app )
2828- [ Run the app via Docker] ( #run-the-app-via-docker )
29- - [ Configuration] ( #configuration-1 )
3029 - [ Installation] ( #installation-1 )
3130 - [ Run the app] ( #run-the-app-1 )
3231
@@ -70,14 +69,6 @@ You can now access the app on `http://127.0.0.1:8000/`.
7069
7170## Run the app via docker
7271
73- ### Configuration
74-
75- In ` app.py ` , set the variable ` is_local ` to ` False ` .
76-
77- ``` python
78- is_local = False
79- ```
80-
8172### Installation
8273
8374Run the following command in your terminal to build the container:
You can’t perform that action at this time.
0 commit comments