Files
remark42/site/Dockerfile
T

14 lines
267 B
Docker

FROM node:16-alpine as build
WORKDIR /site
COPY ./ /site
RUN yarn --frozen-lockfile
RUN yarn build
RUN ls -la /site
FROM ghcr.io/umputun/reproxy
COPY --from=build /site/build /srv/site
EXPOSE 8080
USER app
ENTRYPOINT ["/srv/reproxy", "--assets.location=/srv/site"]