Explorar o código

Fix WORKDIR in Dockerfile

scossu hai 1 ano
pai
achega
e405b3605d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

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