Skip to content

Commit

Permalink
fix: change build action
Browse files Browse the repository at this point in the history
  • Loading branch information
sumeshi committed Nov 14, 2023
1 parent 7f0b1e0 commit 1c02096
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
FROM python:3.11-bullseye
WORKDIR /app

# install dependencies
RUN pip install -U pip && pip install poetry
RUN poetry config virtualenvs.create false

# install application
COPY . /app
RUN poetry install

# you can rewrite this command when running the docker container.
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ services:
context: ./
dockerfile: Dockerfile
volumes:
- .:.
- .:/app
environment:
- ARGUMENTS="-h"
command: ${ARGUMENTS}

0 comments on commit 1c02096

Please sign in to comment.