Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -26,6 +26,9 @@ COPY --chown=user . $HOME/app/
|
|
26 |
# Create the cache directory with appropriate permissions
|
27 |
RUN mkdir -p $HOME/app/hf_cache && chmod -R 777 $HOME/app/hf_cache
|
28 |
|
|
|
|
|
|
|
29 |
# Expose the port that Gradio will run on
|
30 |
EXPOSE 7860
|
31 |
|
|
|
26 |
# Create the cache directory with appropriate permissions
|
27 |
RUN mkdir -p $HOME/app/hf_cache && chmod -R 777 $HOME/app/hf_cache
|
28 |
|
29 |
+
# Copy .env file to the working directory
|
30 |
+
COPY --chown=user .env $HOME/app/
|
31 |
+
|
32 |
# Expose the port that Gradio will run on
|
33 |
EXPOSE 7860
|
34 |
|