Skip to content

Commit

Permalink
Remove supervisor (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-bahjati authored Feb 17, 2023
1 parent 7ee136d commit 44963ee
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
6 changes: 1 addition & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
FROM python:3.9.12-bullseye
RUN apt-get update && apt-get install -y supervisor

COPY . /publisher
WORKDIR /publisher

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

RUN ln -s supervisord.conf /etc/supervisor/conf.d/supervisord.conf
CMD ["/usr/bin/supervisord"]
CMD ["python", "-m", "publisher", "--config", "config/config.toml"]
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="example-publisher",
version="0.0.2",
version="0.0.3",
author="Pyth Data Association",
author_email="",
packages=find_packages(exclude=["tests"]),
Expand Down
10 changes: 0 additions & 10 deletions supervisord.conf

This file was deleted.

0 comments on commit 44963ee

Please sign in to comment.