dashboard/Dockerfile
Aaron Riedel a319e9f878
All checks were successful
continuous-integration/drone/push Build is passing
add EXPOSE statement to Dockerfile to indicate the port
2024-02-02 11:02:21 +01:00

15 lines
314 B
Docker

FROM node:lts AS build
WORKDIR /app
COPY package.json yarn.lock ./
RUN yarn install
COPY . ./
RUN yarn build
FROM nginx:1.25-alpine3.18
COPY --from=build /app/build /app
COPY data /app/data
COPY nginx.conf /etc/nginx/nginx.conf
HEALTHCHECK CMD curl -fsS -m 10 -o /dev/null http://localhost:8080
EXPOSE 8080/tcp