sudo-soldier commited on
Commit
bc71408
·
verified ·
1 Parent(s): 4c3687d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -4
Dockerfile CHANGED
@@ -32,13 +32,13 @@ RUN apt-get update && \
32
  # Install Fastlane
33
  RUN curl -sL https://dl.bintray.com/fastlane/fastlane/install | bash
34
 
35
- # Copy the FastAPI app files to the container
36
- COPY . /app
37
-
38
- # Set permissions for the app directory
39
  RUN mkdir -p /app/icons /app/builds && \
40
  chmod -R 777 /app/icons /app/builds
41
 
 
 
 
42
  # Install FastAPI and Uvicorn
43
  RUN pip install --no-cache-dir -r requirements.txt
44
 
@@ -50,3 +50,5 @@ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]
50
 
51
 
52
 
 
 
 
32
  # Install Fastlane
33
  RUN curl -sL https://dl.bintray.com/fastlane/fastlane/install | bash
34
 
35
+ # Create directories and ensure the permissions are correct
 
 
 
36
  RUN mkdir -p /app/icons /app/builds && \
37
  chmod -R 777 /app/icons /app/builds
38
 
39
+ # Copy the FastAPI app files to the container
40
+ COPY . /app
41
+
42
  # Install FastAPI and Uvicorn
43
  RUN pip install --no-cache-dir -r requirements.txt
44
 
 
50
 
51
 
52
 
53
+
54
+