Added version output
This commit is contained in:
parent
edb548144a
commit
1cae67023f
7 changed files with 13 additions and 6 deletions
|
@ -10,10 +10,12 @@ RUN npm run build
|
|||
RUN rm ./dist/.original.favicon.ico
|
||||
|
||||
FROM forgejo.neshweb.net/ci-docker-images/website-serve:2 AS runtime
|
||||
ARG version
|
||||
ENV version=0.0.1
|
||||
WORKDIR /
|
||||
|
||||
COPY --from=build /app/dist /public
|
||||
COPY --from=build /app/serve.json /public/serve.json
|
||||
|
||||
EXPOSE 8081
|
||||
CMD serve --listen 8081 --no-clipboard /public
|
||||
CMD echo $version; serve --listen 8081 --no-clipboard /public
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue