Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
imghost-frontend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Janne Koschinski
imghost-frontend
Commits
a8c5eb21
Verified
Commit
a8c5eb21
authored
Nov 12, 2019
by
Janne Koschinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated dependencies
parent
153b66cc
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
83 additions
and
103 deletions
+83
-103
Dockerfile
Dockerfile
+2
-2
package-lock.json
package-lock.json
+80
-100
package.json
package.json
+1
-1
No files found.
Dockerfile
View file @
a8c5eb21
...
...
@@ -7,14 +7,14 @@ COPY *.go go.* ./
RUN
go mod download
RUN
CGO_ENABLED
=
false
go build
-o
app .
FROM
node:
10-
alpine as asset_builder
FROM
node:alpine as asset_builder
WORKDIR
/app
COPY
package* /app/
RUN
npm
install
COPY
assets /app/assets
RUN
npm run build
FROM
gcr.io/distroless/static
FROM
alpine:3.10
WORKDIR
/
COPY
--from=go_builder /go/src/app/app /app
COPY
templates /templates
...
...
package-lock.json
View file @
a8c5eb21
This diff is collapsed.
Click to expand it.
package.json
View file @
a8c5eb21
...
...
@@ -4,6 +4,6 @@
"build"
:
"npm run sass"
},
"devDependencies"
:
{
"
node-sass
"
:
"
^4.1
0
.0
"
"
node-sass
"
:
"
^4.1
3
.0
"
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment