diff --git a/Dockerfile b/Dockerfile index cdd9085..808e1b2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,10 +6,11 @@ RUN npm run astro telemetry disable RUN npm run build FROM forgejo.neshweb.net/ci-docker-images/website-serve:2 AS runtime +WORKDIR / COPY --from=build /app/dist /public COPY --from=build /app/serve.json /public/serve.json RUN rm /public/.original.favicon.ico EXPOSE 8081 -CMD serve public/ -p 8081 +CMD serve public/ -p 8081 -S