mirror of
https://github.com/status-im/status-python-sdk.git
synced 2026-08-30 21:51:14 +00:00
- 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`
14 lines
366 B
Docker
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"]
|