YoLo
This commit is contained in:
parent
2633d514e0
commit
9950de9c50
2 changed files with 7 additions and 1 deletions
|
@ -6,5 +6,8 @@ RUN npm install
|
|||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
COPY docker/start.sh /start.sh
|
||||
RUN chmod uog+rwx /start.sh
|
||||
|
||||
EXPOSE 8080
|
||||
CMD [ "http-server", "dist" ]
|
||||
CMD [ "/start.sh"]
|
||||
|
|
3
docker/start.sh
Normal file
3
docker/start.sh
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
echo $VUE_APP_API_URL > dist/apiurl
|
||||
http-server dist
|
Reference in a new issue