Skip to content

Commit 0543d0a

Browse files
committed
Try a local path for the CMD
1 parent 16aace9 commit 0543d0a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Dockerfile.dev

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ FROM python:3.12-slim
22

33
# This will be set by the GitHub action to the folder containing this component.
44
ARG FOLDER=/app
5-
ENV FOLDER=${FOLDER}
65

76
COPY --chown=1000:1000 . /app
87
WORKDIR ${FOLDER}
@@ -16,4 +15,4 @@ EXPOSE 8000
1615
ENV PORT=8000
1716
ENV HOST="0.0.0.0"
1817

19-
CMD $FOLDER/.venv/bin/python src/main.py
18+
CMD .venv/bin/python src/main.py

0 commit comments

Comments
 (0)