update?
This commit is contained in:
10
app/Dockerfile
Normal file
10
app/Dockerfile
Normal file
@ -0,0 +1,10 @@
|
||||
FROM node:20-alpine3.17 as build
|
||||
|
||||
RUN apk update && apk upgrade && adduser -D svelte
|
||||
USER svelte
|
||||
|
||||
WORKDIR /app
|
||||
COPY --chown=svelteuser:svelte . /app
|
||||
|
||||
RUN npm install && npm run build
|
||||
CMD ["npm", "run", "preview"]
|
Reference in New Issue
Block a user