Initial commit

This commit is contained in:
2023-04-24 11:17:13 -04:00
commit a83e87383c
36 changed files with 4523 additions and 0 deletions

24
Dockerfile Normal file
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