mirror of
https://github.com/umputun/reproxy.git
synced 2024-11-24 08:12:31 +02:00
16 lines
344 B
Docker
16 lines
344 B
Docker
FROM --platform=$BUILDPLATFORM node:16-alpine as build
|
|
|
|
WORKDIR /build
|
|
COPY site/ /build
|
|
COPY README.md /build/src/index.md
|
|
|
|
RUN yarn --frozen-lockfile
|
|
RUN yarn build
|
|
RUN ls -la /build/public
|
|
|
|
FROM ghcr.io/umputun/reproxy
|
|
COPY --from=build /build/public /srv/site
|
|
EXPOSE 8080
|
|
USER app
|
|
ENTRYPOINT ["/srv/reproxy", "--assets.location=/srv/site"]
|