summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/Dockerfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/client/Dockerfile b/client/Dockerfile
index 35b83c2..1e3926d 100644
--- a/client/Dockerfile
+++ b/client/Dockerfile
@@ -11,9 +11,13 @@ ARG CLIENT_BUILD_ARGS="--debug"
RUN BASE_URL="__BASEURL__" node build.js --gzip ${CLIENT_BUILD_ARGS}
-FROM --platform=$BUILDPLATFORM scratch as approot
+FROM --platform=$BUILDPLATFORM nginx:alpine as approot
+# Copy and fix script
COPY docker-start.sh /
+RUN apk add --no-cache dos2unix && \
+ dos2unix /docker-start.sh && \
+ chmod +x /docker-start.sh
WORKDIR /etc/nginx
COPY nginx.conf.docker ./nginx.conf