Files
tcg-collectors-server/Dockerfile
T
joseph.nelson4456 819bfa8cee
Test Workflow / test-and-lint (pull_request) Successful in 45s
Build and Push Image / build-and-push (pull_request) Failing after 2m16s
added user and role APIs and fixed some items that were missing
2026-05-15 23:32:18 -07:00

24 lines
403 B
Docker

FROM node:24-alpine
ARG DATABASE_URL
ARG DB_HOST
ARG DB_USERNAME
ARG DB_PASSWORD
ARG DB_PORT
ARG DB_DATABASE
ARG JWT_SECRET
ENV DATABASE_URL=${DATABASE_URL}
ENV DB_HOST=${DB_HOST}
ENV DB_USERNAME=${DB_USERNAME}
ENV DB_PASSWORD=${DB_PASSWORD}
ENV DB_PORT=${DB_PORT}
ENV DB_DATABASE=${DB_DATABASE}
ENV JWT_SECRET=${JWT_SECRET}
WORKDIR /app
COPY . .
RUN npm install --force
CMD ["npm", "run", "start"]