Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramchike committed Nov 12, 2024
2 parents c31f77d + ac3dff2 commit 4edc26f
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
FROM python:3.12-slim

WORKDIR /app
COPY ./requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir -r /app/requirements.txt
COPY ./src /app
COPY . .

COPY ./alembic.ini /app/alembic.ini
COPY ./entry.sh /app/entry.sh
RUN chmod +x /app/entry.sh
RUN pip install --no-cache-dir -r requirements.txt

RUN apt-get -y update; apt-get -y install curl

ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1

RUN chmod +x entry.sh
ENTRYPOINT [ "sh", "entry.sh" ]

0 comments on commit 4edc26f

Please sign in to comment.