Skip to content

Commit

Permalink
Fix CD
Browse files Browse the repository at this point in the history
  • Loading branch information
m4dm4rtig4n committed Jul 19, 2023
1 parent d664f77 commit fc7f360
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
FROM python:3.11-slim

COPY ./app /app

RUN apt-get update && \
apt-get install -y \
locales \
Expand All @@ -17,8 +15,11 @@ ENV LANG fr_FR.UTF-8
ENV LC_ALL fr_FR.UTF-8
ENV TZ=Europe/Paris

RUN pip install --upgrade pip pip-tools
RUN #pip-compile -o /app/requirements.txt /app/pyproject.toml --pre
RUN pip install --upgrade pip pip-tools setuptools

COPY ./app /app

RUN pip-compile -o /app/requirements.txt /app/pyproject.toml
RUN pip install -r /app/requirements.txt
RUN #pip install git+https://github.com/influxdata/influxdb-client-python.git@master

Expand Down
2 changes: 1 addition & 1 deletion app/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies = [
"requests",
"markdown",
"influxdb-client",
"PyYAML",
"PyYAML==6.0.1",
"mergedeep",
"Flask",
"Flask-APScheduler",
Expand Down

0 comments on commit fc7f360

Please sign in to comment.