Skip to content

Commit

Permalink
Adapt Dockerfile to package directory structure.
Browse files Browse the repository at this point in the history
Signed-off-by: Bobby Noelte <[email protected]>
  • Loading branch information
b0661 authored and drbacke committed Oct 7, 2024
1 parent 95322e6 commit efd32b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ RUN DEBIAN_FRONTEND=noninteractive \
&& apt-get install ${APT_OPTS} gcc libhdf5-dev libmariadb-dev pkg-config mariadb-common libmariadb3 \
&& rm -rf /var/lib/apt/lists/* \
&& pip install --no-cache-dir -r requirements.txt \
&& pip install --no-cache-dir build \
&& pip install --no-cache-dir -e . \
&& apt remove ${APT_OPTS} gcc libhdf5-dev libmariadb-dev pkg-config

ENTRYPOINT []

CMD ["python", "flask_server.py"]
CMD ["python", "-m", "akkudoktoreos.flask_server"]

0 comments on commit efd32b9

Please sign in to comment.