upgrade CI to Quadlets
This commit is contained in:
parent
53b593086c
commit
56fc6bca3c
3 changed files with 25 additions and 13 deletions
12
Dockerfile
12
Dockerfile
|
@ -1,16 +1,16 @@
|
|||
FROM nginx:alpine
|
||||
FROM alpine
|
||||
|
||||
# Set up environment for building
|
||||
RUN apk add yarn nodejs
|
||||
|
||||
# Copy files to build environment
|
||||
RUN mkdir /opt/micromobility-navigation
|
||||
COPY . /opt/micromobility-navigation
|
||||
RUN mkdir /opt/little-lines-frontend
|
||||
COPY . /opt/little-lines-frontend
|
||||
|
||||
# Run Vite production build
|
||||
WORKDIR /opt/micromobility-navigation
|
||||
WORKDIR /opt/little-lines-frontend
|
||||
RUN yarn
|
||||
RUN yarn run build
|
||||
CMD yarn dev
|
||||
|
||||
# Copy files to nginx path
|
||||
RUN cp -r dist/* icons /usr/share/nginx/html
|
||||
#RUN cp -r dist/* icons /usr/share/nginx/html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue