stochasticribosome commited on
Commit
4bc7057
1 Parent(s): e0000d4

Move requirements after copying

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -2
Dockerfile CHANGED
@@ -2,8 +2,6 @@ FROM sab148/misato-dataset:latest
2
  USER root
3
  # Set up time zone.
4
 
5
- RUN pip install -r requirements.txt
6
-
7
  #RUN useradd -m -u 1000 user
8
  #USER user
9
  #ENV HOME=/home/user \
@@ -22,6 +20,7 @@ WORKDIR $HOME/app
22
 
23
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
24
  COPY --chown=user . $HOME/app
 
25
  CMD ["python", "main.py"]
26
 
27
 
 
2
  USER root
3
  # Set up time zone.
4
 
 
 
5
  #RUN useradd -m -u 1000 user
6
  #USER user
7
  #ENV HOME=/home/user \
 
20
 
21
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
22
  COPY --chown=user . $HOME/app
23
+ RUN pip install -r requirements.txt
24
  CMD ["python", "main.py"]
25
 
26