[init] project
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Dockerfile
|
||||
@@ -0,0 +1,19 @@
|
||||
FROM node:lts-alpine3.19 AS builder
|
||||
|
||||
ENV NODE_ENV production
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./package.json ./
|
||||
|
||||
RUN npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm run build
|
||||
|
||||
FROM nginx:stable-alpine3.17-slim
|
||||
|
||||
COPY --from=builder /app/dist /usr/share/nginx/html
|
||||
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
@@ -0,0 +1 @@
|
||||
# SkillHub Frontend
|
||||
Reference in New Issue
Block a user