Spaces:
Sleeping
Sleeping
reorder to uncache
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
FROM alpine:latest
|
2 |
|
3 |
-
RUN apk add --no-cache bash curl
|
4 |
-
|
5 |
WORKDIR /code
|
6 |
|
|
|
|
|
7 |
COPY . .
|
8 |
|
9 |
RUN ./pup
|
@@ -12,4 +12,4 @@ RUN pup py3.11
|
|
12 |
# EXPOSE 7860
|
13 |
# CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
|
14 |
|
15 |
-
CMD ["
|
|
|
1 |
FROM alpine:latest
|
2 |
|
|
|
|
|
3 |
WORKDIR /code
|
4 |
|
5 |
+
RUN apk add --no-cache bash curl
|
6 |
+
|
7 |
COPY . .
|
8 |
|
9 |
RUN ./pup
|
|
|
12 |
# EXPOSE 7860
|
13 |
# CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
|
14 |
|
15 |
+
CMD ["pixi", "run", "python", "-m", "http.server", "7860", "--directory", "."]
|