Browse Source

Add development Dockerfile for umbrel-dev (#244)

qr-fix
Luke Childs 4 years ago
committed by GitHub
parent
commit
5f85afa727
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 17
      Dockerfile.dev

17
Dockerfile.dev

@ -0,0 +1,17 @@
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
# 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"]
Loading…
Cancel
Save