funkwhale/front/Dockerfile.dev

18 wiersze
383 B
Docker
Czysty Zwykły widok Historia

FROM node:18-alpine
2022-06-30 12:10:19 +00:00
# needed to compile translations
RUN apk add --no-cache jq bash coreutils python3
2022-06-30 12:10:19 +00:00
EXPOSE 8080
2022-06-30 12:10:19 +00:00
WORKDIR /app/
COPY scripts/ ./scripts/
2022-06-30 12:10:19 +00:00
ADD package.json yarn.lock ./
RUN yarn install
2022-06-30 12:10:19 +00:00
COPY . .
2022-06-30 12:10:19 +00:00
CMD [ "yarn", "serve" ]
HEALTHCHECK --start-period=30s --interval=10s --timeout=5s \
CMD wget --no-verbose --tries=1 --spider http://localhost:${VUE_PORT}/ || exit 1