Initial commit

This commit is contained in:
ash committed 2023-04-24 11:17:13 -04:00
commit a83e87383c
36 files changed
+4523

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
FROM node:19 AS node
# Define environment variables
ARG ORIGIN
ENV ORIGIN $ORIGIN
ARG DATABASE_URL
ENV DATABASE_URL $DATABASE_URL
# Install dependencies
WORKDIR /app
COPY ./package.json .
COPY ./package-lock.json .
COPY ./svelte.config.js .
RUN npm install
# Move everything to container
COPY . .
# Build for production
RUN npm run build
# Launch app
CMD ["node", "build"]
EXPOSE 3000