Spaces:
Sleeping
Sleeping
Captain Ezio
commited on
Commit
·
b7f8585
1
Parent(s):
5401c85
Delete Dockerfile
Browse files- Dockerfile +0 -15
Dockerfile
DELETED
@@ -1,15 +0,0 @@
|
|
1 |
-
FROM ghcr.io/divideprojects/docker-python-base:latest AS build
|
2 |
-
|
3 |
-
# Build virtualenv as separate step: Only re-execute this step when pyproject.toml or poetry.lock changes
|
4 |
-
FROM build AS build-venv
|
5 |
-
COPY pyproject.toml poetry.lock /
|
6 |
-
RUN /venv/bin/poetry export -f requirements.txt --without-hashes --output requirements.txt
|
7 |
-
RUN /venv/bin/pip install --disable-pip-version-check -r /requirements.txt
|
8 |
-
|
9 |
-
# Copy the virtualenv into a distroless image
|
10 |
-
FROM gcr.io/distroless/python3-debian11
|
11 |
-
WORKDIR /app
|
12 |
-
COPY --from=build-venv /venv /venv
|
13 |
-
COPY . .
|
14 |
-
ENTRYPOINT ["/venv/bin/python3"]
|
15 |
-
CMD ["-m", "Powers"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|