Skip to content

Commit

Permalink
Another pass at switching to adapter-node
Browse files Browse the repository at this point in the history
  • Loading branch information
mcjustin committed Oct 1, 2024
1 parent 800fcd8 commit adec27c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ RUN npm clean-install --include=dev
#RUN npm run build
RUN npm run build --loglevel verbose

RUN cp build/404.html build/index.html
#RUN cp build/404.html build/index.html

CMD ["sh", "-c", "npm run build && cp build/404.html build/index.html && npm run start"]
#CMD ["sh", "-c", "npm run build && cp build/404.html build/index.html && npm run start"]
CMD ["sh", "-c", "npm run build && npm run start"]
5 changes: 3 additions & 2 deletions svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ export default {
// default options are shown. On some platforms
// these options are set automatically — see below
pages: 'build',
assets: 'build',
fallback: "404.html",
//assets: 'build',
out: 'build',
//fallback: "404.html",
precompress: false,
strict: true,
paths: {
Expand Down

0 comments on commit adec27c

Please sign in to comment.