Files
ai-spel-frontend/Dockerfile
T
Ein Anderssono 31fa4db673
Build and publish frontend / publish (push) Failing after 4s
Add browser voice input and speech output
2026-10-15 09:45:52 +02:00

13 lines
371 B
Docker

FROM nginxinc/nginx-unprivileged:1.27-alpine
ARG FRONTEND_VERSION
RUN test -n "$FRONTEND_VERSION"
COPY index.html /usr/share/nginx/html/index.html
COPY voice.js /usr/share/nginx/html/voice.js
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