Update Dockerfile and README

This commit is contained in:
Late Night Defender 2023-11-12 17:20:24 +07:00
parent 8e6f0b1d10
commit b9918347c1
2 changed files with 6 additions and 4 deletions

View file

@ -1,4 +1,4 @@
FROM alpine
FROM docker.io/library/alpine:latest
# Set up environment for building
RUN apk add yarn nodejs
@ -7,10 +7,9 @@ RUN apk add yarn nodejs
RUN mkdir /opt/little-lines-frontend
COPY . /opt/little-lines-frontend
# Run Vite production build
# Start the app
WORKDIR /opt/little-lines-frontend
RUN yarn
CMD yarn dev --host
# Copy files to nginx path
#RUN cp -r dist/* icons /usr/share/nginx/html