Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
nginx-proxy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
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
nanahira
nginx-proxy
Commits
a341564c
Commit
a341564c
authored
Aug 15, 2022
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
order
parent
26a5c5a4
Pipeline
#15613
passed with stages
in 33 minutes and 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Dockerfile
Dockerfile
+4
-4
No files found.
Dockerfile
View file @
a341564c
...
@@ -12,10 +12,6 @@ RUN npm run build
...
@@ -12,10 +12,6 @@ RUN npm run build
FROM
base
FROM
base
ENV
NODE_ENV production
ENV
NODE_ENV production
RUN
npm ci
&&
npm cache clean
--force
COPY
--from=builder /etc/nginx/generator/dist ./dist
COPY
./views ./views
RUN
set
-x
&&
\
RUN
set
-x
&&
\
addgroup
-g
101
-S
nginx
&&
\
addgroup
-g
101
-S
nginx
&&
\
adduser
-S
-D
-H
-u
101
-h
/var/cache/nginx
-s
/sbin/nologin
-G
nginx
-g
nginx nginx
&&
\
adduser
-S
-D
-H
-u
101
-h
/var/cache/nginx
-s
/sbin/nologin
-G
nginx
-g
nginx nginx
&&
\
...
@@ -52,6 +48,10 @@ RUN set -x && \
...
@@ -52,6 +48,10 @@ RUN set -x && \
openssl dhparam 4096
>
/etc/nginx/generated/dhparam.pem
&&
\
openssl dhparam 4096
>
/etc/nginx/generated/dhparam.pem
&&
\
openssl rand 80
>
/etc/nginx/generated/ticket.key
openssl rand 80
>
/etc/nginx/generated/ticket.key
RUN
npm ci
&&
npm cache clean
--force
COPY
--from=builder /etc/nginx/generator/dist ./dist
COPY
./views ./views
COPY
./views/dummy /usr/lib/nginx-plus/check-subscription
COPY
./views/dummy /usr/lib/nginx-plus/check-subscription
EXPOSE
80 443
EXPOSE
80 443
...
...
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