Update Dockerfile and README
This commit is contained in:
parent
8e6f0b1d10
commit
b9918347c1
2 changed files with 6 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue