lots of changes with docker
All checks were successful
Build and Push LST Docker Image / docker (push) Successful in 2m57s

This commit is contained in:
2026-04-03 09:51:52 -05:00
parent 82ab735982
commit beae6eb648
36 changed files with 2284 additions and 36 deletions

View File

@@ -9,10 +9,13 @@ WORKDIR /app
# Copy package files
COPY . .
# Install production dependencies only
# build backend
RUN npm ci
RUN npm run build:docker
RUN npm run build
# build frontend
RUN npm --prefix frontend ci
RUN npm --prefix frontend run build
###########
# Stage 2 #
@@ -33,6 +36,9 @@ RUN npm ci --omit=dev
COPY --from=build /app/dist ./dist
COPY --from=build /app/frontend/dist ./frontend/dist
# TODO add in drizzle migrates
ENV RUNNING_IN_DOCKER=true
EXPOSE 3000