remove Front-end
This commit is contained in:
@ -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}
|
||||
|
Reference in New Issue
Block a user