fixing docker and deployment

This commit is contained in:
ngn
2023-11-12 18:18:01 +03:00
parent 462c49f61d
commit 63c2ff2d76
4 changed files with 13 additions and 9 deletions

View File

@ -4,7 +4,7 @@ RUN apk update && apk upgrade && adduser -D svelte
USER svelte
WORKDIR /app
COPY --chown=svelteuser:svelte . /app
COPY --chown=svelte:svelte . /app
RUN npm install && npm run build
CMD ["npm", "run", "preview"]