Explorar el Código

Dockerfile cleanup

Kirk Trombley hace 5 años
padre
commit
499bb76723
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      server/Dockerfile

+ 2 - 1
server/Dockerfile

@@ -4,12 +4,13 @@ RUN pip install --upgrade pip gunicorn
 
 ENV TS_SECRET_FILE /secret/secret.toml
 
-WORKDIR /app
+WORKDIR /var/tss
 
 EXPOSE 5000
 
 ADD requirements.txt .
 RUN pip install -r requirements.txt
+RUN rm requirements.txt
 
 ADD app.py .