feat: add candidate profile, questionnaire and company forms
This commit is contained in:
1 parent
3a61a8e8bb
commit
f81cd0ae09
68 files changed
+9517
-54
No files matched your search
@@ -14,6 +14,8 @@ RUN go mod download
|
||||
COPY . ./
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -tags=e2e -buildvcs=false -trimpath -ldflags="-s -w" -o /out/app ./cmd/app
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -tags=e2e -buildvcs=false -trimpath -ldflags="-s -w" -o /out/consent-fixture ./cmd/consent-fixture
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -tags=e2e -buildvcs=false -trimpath -ldflags="-s -w" -o /out/company-fixture ./cmd/company-fixture
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -tags=e2e -buildvcs=false -trimpath -ldflags="-s -w" -o /out/questionnaire-fixture ./cmd/questionnaire-fixture
|
||||
|
||||
FROM ${RUNTIME_IMAGE}
|
||||
|
||||
@@ -23,6 +25,8 @@ LABEL org.opencontainers.image.title="Lincodex local E2E backend" \
|
||||
WORKDIR /
|
||||
COPY --from=build /out/app /app
|
||||
COPY --from=build /out/consent-fixture /consent-fixture
|
||||
COPY --from=build /out/company-fixture /company-fixture
|
||||
COPY --from=build /out/questionnaire-fixture /questionnaire-fixture
|
||||
EXPOSE 8080 9090
|
||||
USER nonroot:nonroot
|
||||
ENTRYPOINT ["/app"]
|
||||
Reference in new issue
Block a user