pgtune/Dockerfile
poiou123 a9e27f054f Created Dockerfile
Added Dockerfile

Changes on vite.config.js in order to allow configuring port and host when pgtune listens when started

Those settings can be set as defualt or changed with env vars
2024-11-10 00:05:03 +00:00

14 lines
230 B
Docker

FROM alpine:latest
RUN apk update
RUN apk upgrade
RUN apk add icu-data-full
RUN apk add nodejs npm yarn
WORKDIR /home
COPY . .
RUN yarn install
ENV VITE_HOST=0.0.0.0
ENV VITE_PORT=80
EXPOSE $VITE_PORT
ENTRYPOINT ["yarn", "dev"]