You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
558 B
18 lines
558 B
FROM node:12-buster-slim
|
|
|
|
# make the 'app' folder the current working directory
|
|
WORKDIR /app
|
|
|
|
# This is required to pick up filesystem changes in the VirtualBox
|
|
# shared folder for hot module reload
|
|
ENV CHOKIDAR_USEPOLLING=true
|
|
ENV CHOKIDAR_INTERVAL=1000
|
|
|
|
# We need to make sure we build with production URLS so the NGINX proxy
|
|
# in umbrel-dev routes them properly
|
|
ENV VUE_APP_MIDDLEWARE_API_URL=/api
|
|
ENV VUE_APP_MANAGER_API_URL=/manager-api
|
|
|
|
EXPOSE 3004
|
|
ENTRYPOINT ["bash"]
|
|
CMD ["-c", "yarn && yarn vue-cli-service serve --port 3004 --skip-plugins eslint"]
|
|
|