dockerfile

This commit is contained in:
dylan 2024-03-25 00:33:40 -07:00
parent f960083e94
commit fcc3faaa1f

View File

@ -4,13 +4,13 @@ FROM node:18-alpine as base
# sets the working directory for any RUN, CMD, COPY command # sets the working directory for any RUN, CMD, COPY command
WORKDIR /app WORKDIR /app
ENV PORT=3000 # ENV PORT=3000
ENV DB_HOST=postgres # ENV DB_HOST=postgres
ENV DB_USER=postgres # ENV DB_USER=postgres
ENV DB_NAME=db_name # ENV DB_NAME=db_name
ENV DB_PASSWORD=password # ENV DB_PASSWORD=password
ENV DB_PORT=5432 # ENV DB_PORT=5432
ENV DATABASE_URL=postgres://${DB_USER}:${DB_PASSWORD}@${DB_HOST}:${DB_PORT}/${DB_NAME} # ENV DATABASE_URL=postgres://${DB_USER}:${DB_PASSWORD}@${DB_HOST}:${DB_PORT}/${DB_NAME}
COPY ./pico8 ./pico8 COPY ./pico8 ./pico8