Skip to content

Commit

Permalink
Merge pull request #30 from SkywardAI/dev-refactor
Browse files Browse the repository at this point in the history
Optimization: Remove python venv virtual environment and pip upgrade
  • Loading branch information
Micost authored Mar 23, 2024
2 parents edf1482 + 5e7664e commit 042960d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
ENV VIRTUAL_ENV=/opt/venv

# Switch on virtual environment
RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"

# Set the server port
EXPOSE 8000

Expand All @@ -22,7 +18,6 @@ RUN apt-get update \
&& apt-get clean

# Install Python dependencies
RUN pip install --upgrade pip
COPY ./requirements.txt ./
RUN pip3 install -r requirements.txt

Expand Down

0 comments on commit 042960d

Please sign in to comment.