Browse Source

Fix WORKDIR in Dockerfile

scossu 1 year ago
parent
commit
e405b3605d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -10,11 +10,11 @@ RUN addgroup --system www
 RUN adduser --system www
 RUN adduser --system www
 RUN gpasswd -a www www
 RUN gpasswd -a www www
 
 
+WORKDIR ${_workroot}
 COPY entrypoint.sh uwsgi.ini wsgi.py ./
 COPY entrypoint.sh uwsgi.ini wsgi.py ./
 COPY ext ./ext/
 COPY ext ./ext/
 COPY scriptshifter ./scriptshifter/
 COPY scriptshifter ./scriptshifter/
 
 
-WORKDIR ${_workroot}
 COPY requirements.txt ./
 COPY requirements.txt ./
 RUN pip install --no-cache-dir -r requirements.txt
 RUN pip install --no-cache-dir -r requirements.txt