Skip to content

Commit 9f59d98

Browse files
committed
Fix Docker image
1 parent 0b350cd commit 9f59d98

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.dockerignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
venv
2+
.venv
3+
.git
4+
.github
5+
tmp
6+
val3dity.log
7+
.env.local
8+
node_modules

Dockerfile

+2-3
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,10 @@ COPY requirements.txt ./
3838

3939
RUN pip install --no-cache-dir --upgrade -r requirements.txt --break-system-packages
4040

41-
COPY data ./data
42-
COPY app ./app
41+
COPY . ./
4342

4443
ENV CITYGML_TOOLS="/opt/citygml-tools/citygml-tools"
4544
ENV VAL3DITY="/usr/bin/val3dity"
4645
ENV ROOT_PATH=""
4746

48-
CMD ["bash", "-c", "fastapi run app/main.py --proxy-headers --port 8080 --root-path ${ROOT_PATH%/}"]
47+
CMD ["bash", "-c", "fastapi run app/main.py --proxy-headers --port 8080 --root-path '${ROOT_PATH%/}'"]

0 commit comments

Comments
 (0)