initial commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
FROM node:20-alpine AS node-builder
|
||||
WORKDIR /app
|
||||
COPY package.json ./
|
||||
RUN npm install
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
FROM nginx:alpine
|
||||
RUN rm /etc/nginx/conf.d/default.conf
|
||||
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY --from=node-builder /app/public /var/www/html/public
|
||||
Reference in New Issue
Block a user