This commit is contained in:
@@ -6,12 +6,12 @@ WORKDIR /install
|
|||||||
COPY requirements.txt /requirements.txt
|
COPY requirements.txt /requirements.txt
|
||||||
RUN pip install --prefix=/install -r /requirements.txt
|
RUN pip install --prefix=/install -r /requirements.txt
|
||||||
|
|
||||||
ENV TZ=Europe/Berlin
|
|
||||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
|
||||||
|
|
||||||
FROM base
|
FROM base
|
||||||
COPY --from=builder /install /usr/local
|
COPY --from=builder /install /usr/local
|
||||||
RUN addgroup -S appgroup && adduser -S appuser -G appgroup
|
RUN addgroup -S appgroup && adduser -S appuser -G appgroup
|
||||||
|
ENV TZ=Europe/Berlin
|
||||||
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||||
|
|
||||||
WORKDIR /home/appuser
|
WORKDIR /home/appuser
|
||||||
USER appuser
|
USER appuser
|
||||||
|
|||||||
Reference in New Issue
Block a user