honey/Dockerfile
2023-10-27 22:17:14 +02:00

19 lines
276 B
Docker

FROM node:alpine
# Path to assets in container
WORKDIR /app
COPY . .
# Build honey
RUN npm install
RUN npm run build
# Run a built-in webserver
CMD npm run preview
# Expose port
EXPOSE 4173
# Health check
HEALTHCHECK CMD wget -nv --spider --tries=1 http://127.0.0.1:4173