2022-09-22 19:10:18 +03:00
|
|
|
FROM python:3.10-alpine
|
2022-09-30 02:23:18 +03:00
|
|
|
|
2022-09-22 19:10:18 +03:00
|
|
|
WORKDIR /app
|
2022-09-30 02:23:18 +03:00
|
|
|
|
|
|
|
COPY requirements.txt /app/requirements.txt
|
|
|
|
|
|
|
|
RUN pip install -r /app/requirements.txt && rm /app/requirements.txt
|
|
|
|
|
|
|
|
COPY . /app
|
2022-09-22 19:10:18 +03:00
|
|
|
|
|
|
|
CMD ["python3", "-m", "mastoposter", "/config.ini"]
|