feat: docker compose maybe

This commit is contained in:
ash committed 2023-11-13 16:10:04 -05:00
1 parent 180b261e40
commit b625ccd8d6
8031 files changed
+2182966

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
FROM node:19-buster-slim
# Install node dependencies
WORKDIR /svelte
COPY ./package.json .
COPY ./svelte.config.js .
RUN npm install
# Move to container
COPY . .
# Build for production
RUN npm run build
# Launch app
CMD ["node", "build"]
EXPOSE 3000