pup-py commited on
Commit
2b160a9
·
1 Parent(s): 2441d08

reorder to uncache

Browse files
Files changed (1) hide show
  1. 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 ["python3", "-m", "http.server", "7860", "--directory", "."]
 
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", "."]