mirror of
https://gitlab.com/little-lines/frontend.git
synced 2024-11-25 05:46:51 +00:00
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
|
# Set up environment for building
|
||||||
RUN apk add yarn nodejs
|
RUN apk add yarn nodejs
|
||||||
|
@ -7,10 +7,9 @@ RUN apk add yarn nodejs
|
||||||
RUN mkdir /opt/little-lines-frontend
|
RUN mkdir /opt/little-lines-frontend
|
||||||
COPY . /opt/little-lines-frontend
|
COPY . /opt/little-lines-frontend
|
||||||
|
|
||||||
# Run Vite production build
|
# Start the app
|
||||||
WORKDIR /opt/little-lines-frontend
|
WORKDIR /opt/little-lines-frontend
|
||||||
RUN yarn
|
RUN yarn
|
||||||
CMD yarn dev --host
|
CMD yarn dev --host
|
||||||
|
|
||||||
# Copy files to nginx path
|
|
||||||
#RUN cp -r dist/* icons /usr/share/nginx/html
|
|
||||||
|
|
|
@ -9,6 +9,9 @@
|
||||||
<a href="https://gitlab.com/openKMITL/micromobility-navigation/-/pipelines">
|
<a href="https://gitlab.com/openKMITL/micromobility-navigation/-/pipelines">
|
||||||
<img alt="Build Status" src="https://gitlab.com/openkmitl/micromobility-navigation/badges/main/pipeline.svg">
|
<img alt="Build Status" src="https://gitlab.com/openkmitl/micromobility-navigation/badges/main/pipeline.svg">
|
||||||
</a>
|
</a>
|
||||||
|
<img alt="Service Status" src=" https://status.techtransthai.org/api/badge/7/status">
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue