Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -29,6 +29,9 @@ WORKDIR $HOME/app
|
|
29 |
# Copy the current directory contents into the container's $HOME/app folder, setting owner to user
|
30 |
COPY --chown=user . $HOME/app
|
31 |
|
|
|
|
|
|
|
32 |
# Start the Streamlit app
|
33 |
CMD ["streamlit", "run", "app.py"]
|
34 |
|
|
|
29 |
# Copy the current directory contents into the container's $HOME/app folder, setting owner to user
|
30 |
COPY --chown=user . $HOME/app
|
31 |
|
32 |
+
# Copy the .env file into the container
|
33 |
+
COPY --chown=user .env $HOME/app/.env
|
34 |
+
|
35 |
# Start the Streamlit app
|
36 |
CMD ["streamlit", "run", "app.py"]
|
37 |
|