Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4fbd3ceabd | ||
|
|
85250d62e7 | ||
|
|
3d1328301a |
+4
-4
@@ -1,11 +1,11 @@
|
||||
FROM nginxinc/nginx-unprivileged:1.27-alpine
|
||||
|
||||
ARG FRONTEND_VERSION
|
||||
USER root
|
||||
RUN test -n "$FRONTEND_VERSION" \
|
||||
&& sed -i "s/__FRONTEND_VERSION__/${FRONTEND_VERSION}/g" /usr/share/nginx/html/index.html
|
||||
|
||||
RUN test -n "$FRONTEND_VERSION"
|
||||
COPY index.html /usr/share/nginx/html/index.html
|
||||
COPY nginx/default.conf /etc/nginx/conf.d/default.conf
|
||||
USER root
|
||||
RUN sed -i "s/__FRONTEND_VERSION__/${FRONTEND_VERSION}/g" /usr/share/nginx/html/index.html
|
||||
|
||||
USER 101
|
||||
EXPOSE 8080
|
||||
|
||||
@@ -2,5 +2,5 @@ apiVersion: v2
|
||||
name: ai-spel-frontend
|
||||
description: Static web frontend for the Swedish life simulator
|
||||
type: application
|
||||
version: 0.1.16
|
||||
appVersion: "0.1.16"
|
||||
version: 0.1.17
|
||||
appVersion: "0.1.17"
|
||||
Reference in New Issue
Block a user