Init Svelte project, Pocketbase backend, API connection, and mostly Dockerised Co-authored-by: june <self@breadone.net> Co-committed-by: june <self@breadone.net>
This commit was merged in pull request #2.
This commit is contained in:
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM node:24-alpine
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm i
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
EXPOSE 4173
|
||||
CMD ["npm", "run", "preview", "--", "--host"]
|
||||
Reference in New Issue
Block a user