Whitebox-Style-Transfer-Editing / Dockerfile_worker
Max Reimann
Integrate servertask into demo app, add dockerfile
85cce87
raw
history blame
237 Bytes
FROM pytorch/pytorch:1.12.0-cuda11.3-cudnn8-runtime
WORKDIR /usr/app
ADD worker/requirements.txt .
RUN pip install -r requirements.txt
ADD wise .
WORKDIR /usr/app/worker
ADD worker/serve.py .
EXPOSE 8600
CMD ["python", "serve.py"]