mirror of
https://github.com/status-im/status-python-sdk.git
synced 2026-08-31 06:01:19 +00:00
- Create Status App account only with Dockerfile - Add different docker-compose running profile - Update documentation - Config `bot_name` is optional. You can specify the bot name in `.env`
14 lines
345 B
Docker
14 lines
345 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
|
|
|
|
CMD ["sh", "-c", "python upload.py & python download.py"]
|