瀏覽代碼

Fix WORKDIR in Dockerfile

scossu 1 年之前
父節點
當前提交
e405b3605d
共有 1 個文件被更改,包括 1 次插入1 次删除
  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