AstraOS commited on
Commit
d30162a
·
verified ·
1 Parent(s): 0dd8a54

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -11,5 +11,5 @@ FROM python:3.9-slim
11
  WORKDIR /app
12
  # bring in only what you need
13
  COPY --from=builder /install /usr/local
14
- COPY --from=builder /src/app.pyc ./app.pyc # byte-code only
15
- ENTRYPOINT ["python", "app.pyc"] # or uvicorn app:app ...
 
11
  WORKDIR /app
12
  # bring in only what you need
13
  COPY --from=builder /install /usr/local
14
+ COPY --from=builder /src/app.pyc ./app.pyc
15
+ ENTRYPOINT ["python", "app.pyc"]