Skip to content

Commit

Permalink
fix: dockerfile and src img
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickChoDev committed Jul 17, 2024
1 parent 5ebb65e commit f0bafeb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ COPY . .

RUN pnpm build

FROM node:21-alpine3.18 AS production

WORKDIR /app

COPY --from=base /app/.next/standalone .
COPY --from=base /app/.next/static ./.next/static
COPY --from=base /app/public ./public

EXPOSE 3000

CMD ["pnpm", "start"]
CMD ["node", "server.js"]
4 changes: 2 additions & 2 deletions src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

@layer {
.bg-1 {
background-image: url('/bg-1.svg');
background-image: url('https://rpkm67.sgp1.cdn.digitaloceanspaces.com/assets/bg-1.svg');
background-repeat: repeat;
background-size: cover;
}

.bg-2 {
background-image: url('/bg-2.svg');
background-image: url('https://rpkm67.sgp1.cdn.digitaloceanspaces.com/assets/bg-2.svg');
background-repeat: repeat;
background-size: cover;
}
Expand Down

0 comments on commit f0bafeb

Please sign in to comment.