This commit is contained in:
Kekskurse 2019-11-27 11:24:16 +01:00
parent 2633d514e0
commit 9950de9c50
2 changed files with 7 additions and 1 deletions

View file

@ -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
View file

@ -0,0 +1,3 @@
#!/bin/sh
echo $VUE_APP_API_URL > dist/apiurl
http-server dist