1 parent
c0b0eed0df
commit
4ae5e8f830
7 files changed
+96
-2
No files matched your search
+11
@@ -0,0 +1,11 @@
|
||||
FROM node:lts-alpine AS build
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
FROM nginx:alpine
|
||||
COPY nginx.conf.template /etc/nginx/templates/default.conf.template
|
||||
COPY --from=build /app/dist /usr/share/nginx/html
|
||||
EXPOSE 80
|
||||
Reference in new issue
Block a user