mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-04-19 00:45:22 +00:00
Adapt Dockerfile to package directory structure.
Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
This commit is contained in:
parent
2c5c612cab
commit
7c13cb6e1c
@ -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"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user