mirror of
https://github.com/umputun/reproxy.git
synced 2024-11-24 08:12:31 +02:00
16 lines
318 B
Docker
16 lines
318 B
Docker
FROM 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"]
|