Skip to content

Commit

Permalink
fix: use poetry to install package in container
Browse files Browse the repository at this point in the history
  • Loading branch information
Ravio1i committed Nov 12, 2021
1 parent ebb0d4a commit f69a5a0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ RUN chown -R $USER:$USER "/home/$USER"

USER $USER

RUN pip install --no-cache-dir --upgrade pip
RUN pip install -r requirements.txt
RUN pip install pip==21.3.1 poetry==1.1.11
RUN poetry config virtualenvs.create false && \
poetry install --no-dev

ENV PYTHONPATH "/home/$USER"

ENTRYPOINT ["python", "notion_gcal_sync/__main__.py"]
ENTRYPOINT ["notion-gcal-sync"]

0 comments on commit f69a5a0

Please sign in to comment.