Spaces:
Build error
Build error
Update Space
Browse files- Dockerfile +3 -8
Dockerfile
CHANGED
@@ -1,10 +1,4 @@
|
|
1 |
-
FROM
|
2 |
-
|
3 |
-
WORKDIR /opt
|
4 |
-
|
5 |
-
RUN apt-get update \
|
6 |
-
&& apt install cmake clang swig gcc python3.11 python3-venv python3-dev -y \
|
7 |
-
&& rm -rf /var/lib/apt/lists/*
|
8 |
|
9 |
COPY ./Makefile /opt/Makefile
|
10 |
COPY ./pyproject.toml /opt/pyproject.toml
|
@@ -13,4 +7,5 @@ RUN make .venv
|
|
13 |
COPY ./src /opt/src
|
14 |
|
15 |
# Runtime args
|
16 |
-
|
|
|
|
1 |
+
FROM python:3.11
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
COPY ./Makefile /opt/Makefile
|
4 |
COPY ./pyproject.toml /opt/pyproject.toml
|
|
|
7 |
COPY ./src /opt/src
|
8 |
|
9 |
# Runtime args
|
10 |
+
WORKDIR /opt
|
11 |
+
CMD .venv/bin/python -m src.create_app.py
|