Skip to content

Commit

Permalink
[dakara-client] npx serve
Browse files Browse the repository at this point in the history
  • Loading branch information
NextFire committed Sep 19, 2024
1 parent 10473c6 commit 444fffe
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions dakara-client-web.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ RUN npm ci
COPY . .
RUN npm run build

FROM svenstaro/miniserve:alpine
FROM node:lts-alpine
ENV NODE_ENV=production
WORKDIR /app
RUN npm install -g serve
COPY --from=builder /src/build .
CMD [ "--spa", "--index", "index.html" ]
ENTRYPOINT [ "serve" ]
CMD [ "-s" ]
EXPOSE 3000

0 comments on commit 444fffe

Please sign in to comment.