1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Move image base to linuxserverio alpine base

krateng/maloja#96
This commit is contained in:
FoxxMD
2023-03-17 10:28:07 -04:00
parent 37210995fa
commit 7bc2ba0237
6 changed files with 13 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
FROM alpine:3.15
FROM lsiobase/alpine:3.17 as base
# Python image includes two Python versions, so use base Alpine
# Based on the work of Jonathan Boeckel <jonathanboeckel1996@gmail.com>
@@ -23,10 +23,12 @@ RUN \
pip install --no-cache-dir -r requirements.txt && \
apk del .build-deps
COPY container/root/ /
# no chance for caching below here
COPY . .
COPY --chown=abc:abc . .
RUN pip install /usr/src/app
@@ -36,5 +38,3 @@ ENV MALOJA_SKIP_SETUP=yes
ENV PYTHONUNBUFFERED=1
EXPOSE 42010
# use exec form for better signal handling https://docs.docker.com/engine/reference/builder/#entrypoint
ENTRYPOINT ["maloja", "run"]