Spaces:
Runtime error
Runtime error
shorter
Browse files- Dockerfile +0 -7
Dockerfile
CHANGED
|
@@ -1,13 +1,6 @@
|
|
| 1 |
FROM nixos/nix:2.31.2
|
| 2 |
-
|
| 3 |
-
# Enable experimental features for flakes
|
| 4 |
RUN echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
|
| 5 |
-
|
| 6 |
-
# Copy the project files
|
| 7 |
COPY . /workspace
|
| 8 |
WORKDIR /workspace
|
| 9 |
-
|
| 10 |
RUN nix build .#default --out-link /workspace/result
|
| 11 |
-
|
| 12 |
-
# Run the startup script
|
| 13 |
CMD ["/workspace/result/bin/run-gradio"]
|
|
|
|
| 1 |
FROM nixos/nix:2.31.2
|
|
|
|
|
|
|
| 2 |
RUN echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
|
|
|
|
|
|
|
| 3 |
COPY . /workspace
|
| 4 |
WORKDIR /workspace
|
|
|
|
| 5 |
RUN nix build .#default --out-link /workspace/result
|
|
|
|
|
|
|
| 6 |
CMD ["/workspace/result/bin/run-gradio"]
|