Seperated code frontend/backend
- also temporarily un-embeded filesystem for debugging
This commit is contained in:
1 parent
3945228161
commit
619385dd05
117 files changed
+73
-32
No files matched your search
+3
-2
@@ -6,8 +6,7 @@ RUN npm run build
|
||||
|
||||
FROM golang:alpine as base
|
||||
WORKDIR /app
|
||||
COPY ./src/ ./
|
||||
COPY --from=nbuild /app/dist ./frontend/dist
|
||||
COPY ./src/backend ./
|
||||
RUN go build -o filebrowser .
|
||||
|
||||
FROM alpine:latest
|
||||
@@ -24,4 +23,6 @@ EXPOSE 80
|
||||
|
||||
COPY --from=base /app/docker_config.json /.filebrowser.json
|
||||
COPY --from=base /app/filebrowser /filebrowser
|
||||
COPY --from=nbuild /app/dist/ ./frontend/dist/
|
||||
|
||||
ENTRYPOINT [ "/filebrowser" ]
|
||||
Reference in new issue
Block a user