feat(initial commit): first commit, testing out deployment
Some checks failed
/ build (push) Failing after 0s
/ deploy (push) Failing after 16s

This commit is contained in:
devaine 2026-05-10 16:50:19 -05:00
commit 1736e9eb09
Signed by: devaine
GPG key ID: 954B1DCAC6FF84EE
27 changed files with 7097 additions and 1 deletions

38
Dockerfile Normal file
View file

@ -0,0 +1,38 @@
# TODO: Plan for docker-compose.yml, create a script on run.bash to wait for .env file to run
# the application
FROM node:25-alpine
# WARNING: These ports are the default ports for the app, you should probably
# change them eventually, OR use docker-compose.yml to change them.
EXPOSE 8000
EXPOSE 3000
RUN <<EOF
apk update
apk add python3
apk add bash
EOF
# NOTE: Filesystem setup (probably needs COPY and WORKDIR)
COPY . /app
WORKDIR /app
# NOTE: Frontend setup
WORKDIR /app/frontend
RUN npm run build
# NOTE: Backend setup
WORKDIR /app/api
RUN <<EOF
bash ./run.bash
EOF
ENV PATH="/app/api/venv/bin:$PATH"
#SHELL ["bash", "-c"]
WORKDIR /app
RUN "bash run.bash"