mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-07 23:55:12 -04:00
Fixed build arg.
This commit is contained in:
parent
71cd42d370
commit
3d7ca0f9e2
2 changed files with 3 additions and 2 deletions
2
.github/workflows/rate-limit.yml
vendored
2
.github/workflows/rate-limit.yml
vendored
|
@ -33,7 +33,7 @@ jobs:
|
|||
-
|
||||
name: build docker image
|
||||
run: |
|
||||
docker build -f Dockerfile -t epl-debian-slim --env NODE_ENV=develop .
|
||||
docker build -f Dockerfile -t epl-debian-slim --build-arg NODE_ENV=develop .
|
||||
docker build -f src/tests/ratelimit/Dockerfile.nginx -t nginx-latest .
|
||||
docker build -f src/tests/ratelimit/Dockerfile.anotherip -t anotherip .
|
||||
-
|
||||
|
|
|
@ -63,7 +63,8 @@ ARG EP_UID=5001
|
|||
ARG EP_GID=0
|
||||
ARG EP_SHELL=
|
||||
|
||||
ENV NODE_ENV=production
|
||||
ARG NODE_ENV
|
||||
ENV NODE_ENV=${NODE_ENV:-production}
|
||||
|
||||
RUN groupadd --system ${EP_GID:+--gid "${EP_GID}" --non-unique} etherpad && \
|
||||
useradd --system ${EP_UID:+--uid "${EP_UID}" --non-unique} --gid etherpad \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue