Update Dockerfile
This commit is contained in:
parent
b71a83de60
commit
4c99e009f4
1 changed files with 2 additions and 1 deletions
|
@ -6,10 +6,11 @@ RUN npm run astro telemetry disable
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
FROM forgejo.neshweb.net/ci-docker-images/website-serve:2 AS runtime
|
FROM forgejo.neshweb.net/ci-docker-images/website-serve:2 AS runtime
|
||||||
|
WORKDIR /
|
||||||
|
|
||||||
COPY --from=build /app/dist /public
|
COPY --from=build /app/dist /public
|
||||||
COPY --from=build /app/serve.json /public/serve.json
|
COPY --from=build /app/serve.json /public/serve.json
|
||||||
RUN rm /public/.original.favicon.ico
|
RUN rm /public/.original.favicon.ico
|
||||||
|
|
||||||
EXPOSE 8081
|
EXPOSE 8081
|
||||||
CMD serve public/ -p 8081
|
CMD serve public/ -p 8081 -S
|
||||||
|
|
Loading…
Add table
Reference in a new issue