forked from kompetenzinventar/ki-backend
Fix Dockerfile warnings
This commit is contained in:
parent
6a3458a596
commit
a5a85e6032
12
Dockerfile
12
Dockerfile
@ -2,10 +2,10 @@
|
|||||||
#
|
#
|
||||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
FROM python:3.8.18-alpine as builder
|
FROM python:3.8.18-alpine AS builder
|
||||||
|
|
||||||
ENV PYROOT /pyroot
|
ENV PYROOT=/pyroot
|
||||||
ENV PYTHONUSERBASE $PYROOT
|
ENV PYTHONUSERBASE=$PYROOT
|
||||||
|
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
gcc \
|
gcc \
|
||||||
@ -20,10 +20,10 @@ RUN PIP_USER=1 PIP_IGNORE_INSTALLED=1 pipenv install --system --deploy --ignore-
|
|||||||
RUN pip3 uninstall --yes pipenv
|
RUN pip3 uninstall --yes pipenv
|
||||||
|
|
||||||
|
|
||||||
FROM python:3.8.18-alpine as ki-backend
|
FROM python:3.8.18-alpine AS ki-backend
|
||||||
|
|
||||||
ENV PYROOT /pyroot
|
ENV PYROOT=/pyroot
|
||||||
ENV PYTHONUSERBASE $PYROOT
|
ENV PYTHONUSERBASE=$PYROOT
|
||||||
|
|
||||||
# Install six explicitly. Otherwise Python complains about it missing.
|
# Install six explicitly. Otherwise Python complains about it missing.
|
||||||
RUN pip3 install six
|
RUN pip3 install six
|
||||||
|
Loading…
Reference in New Issue
Block a user