Skip to content

Commit

Permalink
docker
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoutigeWolf committed Jul 1, 2024
1 parent 67b4a2d commit 35433f6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM node:20-alpine AS build

WORKDIR /app

COPY package*.json ./

RUN npm install

COPY . .

RUN npm run build

FROM httpd:alpine

COPY --from=build /app/dist/ /usr/local/apache2/htdocs/

EXPOSE 80

0 comments on commit 35433f6

Please sign in to comment.