mirror of
https://github.com/kjuulh/dagger-rs.git
synced 2025-07-25 19:09:22 +02:00
add with dockerfile
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
FROM node:16 as builder
|
||||
|
||||
COPY . /src
|
||||
|
||||
WORKDIR /src
|
||||
|
||||
RUN npm install
|
||||
|
||||
RUN npm test -- --watchAll=false
|
||||
|
||||
RUN npm run build
|
||||
|
||||
FROM nginx
|
||||
|
||||
COPY --from=builder /src/build /usr/share/nginx/html
|
Reference in New Issue
Block a user