Skip to content

Commit 44963ee

Browse files
authored
Remove supervisor (#10)
1 parent 7ee136d commit 44963ee

File tree

3 files changed

+2
-16
lines changed

3 files changed

+2
-16
lines changed

Dockerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
FROM python:3.9.12-bullseye
2-
RUN apt-get update && apt-get install -y supervisor
32

43
COPY . /publisher
54
WORKDIR /publisher
65

7-
RUN python -m venv .venv
8-
ENV PATH="/publisher/.venv/bin:$PATH"
96
RUN pip install --upgrade setuptools pip && pip install -e .
107

11-
RUN ln -s supervisord.conf /etc/supervisor/conf.d/supervisord.conf
12-
CMD ["/usr/bin/supervisord"]
8+
CMD ["python", "-m", "publisher", "--config", "config/config.toml"]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name="example-publisher",
5-
version="0.0.2",
5+
version="0.0.3",
66
author="Pyth Data Association",
77
author_email="",
88
packages=find_packages(exclude=["tests"]),

supervisord.conf

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)