Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
Merge branch 'pre-release'
Browse files Browse the repository at this point in the history
  • Loading branch information
ramon-victor committed Jul 26, 2023
2 parents 970895f + a788897 commit b070761
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
FROM python:3.10-slim-buster
WORKDIR /app
COPY requirements.txt requirements.txt
FROM python:3.10-slim-buster

WORKDIR /app

COPY requirements.txt requirements.txt

RUN python -m venv venv
ENV PATH="/app/venv/bin:$PATH"

RUN apt-get update && \
apt-get install -y --no-install-recommends build-essential libffi-dev cmake libcurl4-openssl-dev && \
pip3 install --no-cache-dir -r requirements.txt

COPY . .

CMD ["python3", "./run.py"]
RUN apt-get update && \
apt-get install -y --no-install-recommends build-essential libffi-dev cmake libcurl4-openssl-dev && \
pip3 install --no-cache-dir -r requirements.txt

COPY . .

RUN chmod -R 777 translations

CMD ["python3", "./run.py"]

0 comments on commit b070761

Please sign in to comment.