Skip to content

Commit

Permalink
fix: website not building
Browse files Browse the repository at this point in the history
Signed-off-by: Avior <github@avior.me>
  • Loading branch information
Aviortheking committed Jul 20, 2023
1 parent 4ec6182 commit d046fec
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 29 deletions.
1 change: 1 addition & 0 deletions website/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
4 changes: 2 additions & 2 deletions website/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ RUN npm run build
##############
# Production #
##############
FROM docker.io/nginx:1-alpine
FROM docker.io/nginx:1-alpine as PROD_IMAGE

# go to NGINX folder
WORKDIR /usr/share/nginx/html

# Copy the nginx config
ADD ./.docker/nginx.conf /etc/nginx/nginx.conf
ADD ./nginx.conf /etc/nginx/nginx.conf

# Copy dist fro mthe build image
COPY --from=BUILD_IMAGE /home/node/dist ./
45 changes: 19 additions & 26 deletions website/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@astrojs/tailwind": "^4",
"@dzeio/object-util": "^1",
"astro": "^2",
"lucide-astro": "../",
"lucide-astro": "*",
"tailwindcss": "^3"
}
}

0 comments on commit d046fec

Please sign in to comment.