Skip to content

Commit

Permalink
Move Python source files into src/ subdirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
florianhofhammer committed May 21, 2023
1 parent 07668e0 commit b979701
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ RUN --mount=type=bind,source=Pipfile,target=Pipfile,ro \
--mount=type=bind,source=Pipfile.lock,target=Pipfile.lock,ro \
pip install pipenv && pipenv install --system --deploy

COPY . .
COPY src/ .

# Attention: you need to put config.json into the container via a volume!
CMD ["python", "./main.py"]
CMD ["python3", "main.py"]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit b979701

Please sign in to comment.