Mythus commited on
Commit
68c6d03
·
verified ·
1 Parent(s): a71b38c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -23,7 +23,7 @@ RUN apt-get update && apt-get install -y git
23
  USER mediaflow_proxy
24
 
25
  # Clone the repository
26
- RUN git clone https://github.com/mhdzumair/mediaflow-proxy.git .
27
 
28
  # Install Poetry
29
  RUN pip install --user --no-cache-dir poetry
@@ -35,8 +35,8 @@ COPY --chown=mediaflow_proxy:mediaflow_proxy pyproject.toml poetry.lock* /mediaf
35
  RUN poetry config virtualenvs.in-project true \
36
  && poetry install --no-interaction --no-ansi --no-dev
37
 
38
- # Copy project files
39
- COPY --chown=mediaflow_proxy:mediaflow_proxy . /mediaflow_proxy
40
 
41
  # Expose the port the app runs on
42
  EXPOSE 8080
 
23
  USER mediaflow_proxy
24
 
25
  # Clone the repository
26
+ RUN git clone https://github.com/mhdzumair/mediaflow-proxy.git /mediaflow_proxy
27
 
28
  # Install Poetry
29
  RUN pip install --user --no-cache-dir poetry
 
35
  RUN poetry config virtualenvs.in-project true \
36
  && poetry install --no-interaction --no-ansi --no-dev
37
 
38
+ # Copy project files (not needed as git clone already copied them)
39
+ # COPY --chown=mediaflow_proxy:mediaflow_proxy . /mediaflow_proxy
40
 
41
  # Expose the port the app runs on
42
  EXPOSE 8080