edemana commited on
Commit
991b29a
·
verified ·
1 Parent(s): 5f95911

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -20,7 +20,10 @@ RUN pip install --no-cache-dir \
20
  # Clone the repository and set up the model
21
  RUN git clone https://github.com/NVlabs/stylegan2-ada-pytorch.git /stylegan2-ada-pytorch
22
 
23
- # Copy application files
 
 
 
24
  COPY app.py /app/app.py
25
  COPY train.py /app/train.py
26
  COPY ffhq.pkl /app/ffhq.pkl
@@ -29,3 +32,4 @@ WORKDIR /app
29
 
30
  # Set the entrypoint
31
  ENTRYPOINT ["python", "app.py"]
 
 
20
  # Clone the repository and set up the model
21
  RUN git clone https://github.com/NVlabs/stylegan2-ada-pytorch.git /stylegan2-ada-pytorch
22
 
23
+ # Create the /app directory
24
+ RUN mkdir /app
25
+
26
+ # Copy application files to the /app directory
27
  COPY app.py /app/app.py
28
  COPY train.py /app/train.py
29
  COPY ffhq.pkl /app/ffhq.pkl
 
32
 
33
  # Set the entrypoint
34
  ENTRYPOINT ["python", "app.py"]
35
+