Skip to content

Commit

Permalink
update Dockerfile-backend and Dockerfile-frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
iskanred committed Apr 29, 2024
1 parent dc4d9e9 commit 0c95cd1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile-backend
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ RUN python3 -m venv $POETRY_VENV \
ENV PATH="${PATH}:${POETRY_VENV}/bin"

WORKDIR /app
COPY . /app

# Install dependencies
COPY poetry.lock pyproject.toml ./
RUN poetry install
RUN chmod +x ./bin/main.py

# Run your app
COPY . /app
CMD [ "poetry", "run", "bin/main.py"]
4 changes: 2 additions & 2 deletions Dockerfile-frontend
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ RUN python3 -m venv $POETRY_VENV \
ENV PATH="${PATH}:${POETRY_VENV}/bin"

WORKDIR /app
COPY . /app

# Install dependencies
COPY poetry.lock pyproject.toml ./
RUN poetry install
RUN chmod +x ./ui/app.py

# Run your app
COPY . /app
CMD [ "poetry", "run", "streamlit", "run", "ui/app.py" ]

0 comments on commit 0c95cd1

Please sign in to comment.