remove Front-end

This commit is contained in:
Tham Luu
2024-09-23 15:12:49 +08:00
parent a78146f25f
commit df56e15290
65 changed files with 0 additions and 7929 deletions

View File

@ -1,15 +1,3 @@
FROM node:18.20.4-alpine3.20 AS builder
WORKDIR /app
COPY ./frontend .
RUN npm install -g pnpm
RUN pnpm install --prefer-offline=true --frozen-lockfile=true
RUN pnpm build
###############################################
# Base Image - Python
###############################################
@ -107,12 +95,6 @@ ENV APP_PORT=9000
EXPOSE ${APP_PORT}
# ----------------------------------
# Copy Frontend
# copying caddy into image
ENV STATIC_FILES=/spa/static
COPY --from=builder /app/dist ${STATIC_FILES}
ENV HOST 0.0.0.0
EXPOSE ${APP_PORT}