mirror of
https://github.com/simon987/music-graph-ui.git
synced 2025-04-04 06:52:58 +00:00
docker
This commit is contained in:
parent
d75524ec3a
commit
3872e1135d
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@ -0,0 +1,14 @@
|
||||
FROM node:10 as build
|
||||
|
||||
COPY ./music_graph /app
|
||||
|
||||
WORKDIR app
|
||||
RUN npm install
|
||||
RUN npm run build
|
||||
|
||||
FROM nginx:alpine
|
||||
|
||||
COPY --from=build /app/dist /webroot
|
||||
COPY nginx.conf /etc/nginx/
|
||||
|
||||
EXPOSE 80
|
Loading…
x
Reference in New Issue
Block a user