Dockerfile 398 Bytes
Newer Older
torgiren's avatar
torgiren committed
1
2
ARG APPIMAGE=registry.gitlab.exphost.pl/exphost-controller/webui-app
ARG APPVER=latest
3

torgiren's avatar
torgiren committed
4
5
6
FROM ${APPIMAGE}:${APPVER} as app

FROM docker.io/library/nginx:latest
7
8
9
EXPOSE 80
COPY nginx/nginx.conf /etc/nginx/conf.d/default.conf
COPY nginx/entry.d/ /docker-entrypoint.d/
torgiren's avatar
torgiren committed
10
RUN echo "--from=${APPIMAGE}:${APPVER} /app/build/ /usr/share/nginx/html/"
torgiren's avatar
torgiren committed
11
COPY --from=app /app/build/ /usr/share/nginx/html/console
torgiren's avatar
torgiren committed
12