Skip to content

Commit

Permalink
Minor changes to Dockerfile, removes some unused files.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdc34 committed Aug 26, 2024
1 parent 0d73d75 commit d594509
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 44,299 deletions.
6 changes: 1 addition & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,14 @@ RUN apt-get -y install default-libmysqlclient-dev

ENV VIRTUAL_ENV=/opt/venv
RUN python -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
ENV PATH="/app:$VIRTUAL_ENV/bin:$PATH"
RUN pip install -U pip "poetry==$POETRY_VERSION"

COPY poetry.lock pyproject.toml ./
RUN poetry config virtualenvs.create false && \
poetry install --no-interaction --no-ansi \
--without dev

ADD app.py /app/

ENV PATH "/app:${PATH}"

ADD browse /app/browse
ADD wsgi.py /app/

Expand Down
5 changes: 0 additions & 5 deletions app.py

This file was deleted.

11 changes: 0 additions & 11 deletions bin/start_browse.sh

This file was deleted.

32 changes: 0 additions & 32 deletions bin/update-docs.sh

This file was deleted.

Loading

0 comments on commit d594509

Please sign in to comment.