-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Merge pull request #134 from LCOGT/dev/argo-cd"
This reverts commit a3ce041, reversing changes made to 631ed36. Dockerfile build was breaking helm deployment. Reverting to previous state. This will be reinstated when full argo-cd integration is complete.
- Loading branch information
Showing
11 changed files
with
20 additions
and
1,198 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,8 +21,3 @@ pnpm-debug.log* | |
*.njsproj | ||
*.sln | ||
*.sw? | ||
|
||
# Devops | ||
.devenv | ||
.pre-commit-config.yaml | ||
local-kubeconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,25 @@ | ||
FROM node:16 AS builder | ||
FROM node:16 as builder | ||
WORKDIR /app | ||
COPY package*.json ./ | ||
RUN npm install | ||
COPY ./ . | ||
RUN npm run build | ||
|
||
FROM nginx:1.15-alpine | ||
RUN mkdir -p /app && rm -rf /etc/nginx/conf.d/default.conf | ||
COPY --from=builder /app/dist /app | ||
RUN echo -e " server {\n" \ | ||
" listen 8989;\n" \ | ||
" listen [::]:8989;\n" \ | ||
" server_name localhost;\n" \ | ||
" location / {\n" \ | ||
" root /app;\n" \ | ||
" index index.html;\n" \ | ||
" try_files \$uri \$uri/ /index.html;\n" \ | ||
" add_header 'Cross-Origin-Embedder-Policy' 'require-corp';\n" \ | ||
" add_header 'Cross-Origin-Opener-Policy' 'same-origin';\n" \ | ||
" }\n" \ | ||
" }\n" \ | ||
> /etc/nginx/conf.d/datalab.conf | ||
|
||
ENTRYPOINT [ "nginx", "-g", "daemon off;" ] |
Oops, something went wrong.