mirror of
https://gitlab.com/little-lines/frontend.git
synced 2024-11-25 01:06:51 +00:00
Add dockerfile
This commit is contained in:
parent
b2641e8d4b
commit
71504b3357
1 changed files with 14 additions and 0 deletions
14
Dockerfile
Normal file
14
Dockerfile
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
FROM nginx:alpine
|
||||||
|
|
||||||
|
# Set up environment for building
|
||||||
|
RUN apk add git yarn nodejs
|
||||||
|
|
||||||
|
|
||||||
|
WORKDIR /opt
|
||||||
|
RUN git clone https://gitlab.com/openKMITL/micromobility-navigation.git
|
||||||
|
|
||||||
|
|
||||||
|
WORKDIR /opt/micromobility-navigation/micromobility-navigation
|
||||||
|
RUN yarn
|
||||||
|
RUN yarn run build
|
||||||
|
RUN cp -r dist/* /usr/share/nginx/html
|
Loading…
Reference in a new issue