mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
feat: add health checks for backend and frontend services in docker-compose.yml
This commit is contained in:
@@ -9,5 +9,6 @@ RUN npm run build
|
||||
FROM node:20-alpine as runner
|
||||
WORKDIR /app
|
||||
COPY --from=build /app .
|
||||
RUN apk add --no-cache wget
|
||||
EXPOSE 5173
|
||||
CMD ["npm", "run", "preview", "--", "--host", "0.0.0.0", "--port", "5173"]
|
||||
|
||||
Reference in New Issue
Block a user