Files
status-python-sdk/Dockerfile
T
Nick Ninov 96d208d1de Initial Dockerfile
- Create `Dockerfile` for `upload.py` and `download.py`. Code and config has been modified to be Docker friendly
- Add `Dockerfile` to `docker-compose.yaml`

**Note**: This version does not work with `create_account.py`
2026-03-05 15:18:55 +00:00

14 lines
366 B
Docker

FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# Folder is required only for status-backend and not the code
RUN rm -rf data-dir
# In case if the scripts are ran locally instead of with Docker
RUN rm -rf uploads
# Independent scripts
CMD ["sh", "-c", "python upload.py & python download.py"]