Skip to content
Snippets Groups Projects
Unverified Commit 0cf3e336 authored by Noel Simbolon's avatar Noel Simbolon
Browse files

feat: Dockerfile

parent dc88ffff
1 merge request!1Dev
Pipeline #59296 canceled with stages
node_modules
dist
FROM node:18.18.2 AS build
WORKDIR /app
COPY package*.json .
RUN npm install
COPY . .
RUN npm run build
FROM nginx:1.24.0-alpine
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment