mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-10-29 00:55:32 +00:00
rem dockerfile
This commit is contained in:
17
dockerfile
17
dockerfile
@@ -1,17 +0,0 @@
|
||||
FROM node:lts-alpine
|
||||
COPY . /source
|
||||
|
||||
WORKDIR /source
|
||||
RUN rm -rf ./data_git/
|
||||
RUN rm -rf ./cache_gnd/
|
||||
RUN npm --prefix ./views install
|
||||
RUN npm --prefix ./views run build -- --config vite.config.js
|
||||
|
||||
FROM golang:1.23
|
||||
COPY --from=0 /source /source
|
||||
WORKDIR /source
|
||||
RUN go build -o /app/kgpz .
|
||||
COPY ./config.dev.json /app/config.dev.json
|
||||
|
||||
WORKDIR /app
|
||||
CMD ["/app/kgpz"]
|
||||
Reference in New Issue
Block a user