Skip to content

Commit

Permalink
Fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
nazar220160 committed Dec 9, 2023
1 parent 69822fe commit 9cfd3d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ FROM python:3.10.5
WORKDIR /usr/src/project
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
RUN apt-get update && \
apt-get install -y sqlite3
RUN apt update && \
apt install -y sqlite3
RUN pip install --upgrade pip
COPY . .
WORKDIR /usr/src/project/app
COPY requirements.txt .
RUN pip install --upgrade pip && \
pip install -r requirements.txt
pip install -r requirements.txt

0 comments on commit 9cfd3d5

Please sign in to comment.