added SCORO_URL param build

This commit is contained in:
Clément Le Bihan
2023-01-25 22:45:27 +09:00
parent b0d63b02fc
commit efc29cd7d4
2 changed files with 3 additions and 0 deletions

View File

@@ -36,6 +36,7 @@ services:
context: ./front
args:
- API_URL=${API_URL}
- SCORO_URL=${SCORO_URL}
ports:
- "80:80"
depends_on:

View File

@@ -12,6 +12,8 @@ RUN yarn global add sharp-cli@^2.1.0
COPY . .
ARG API_URL
ENV API_URL=$API_URL
ARG SCORO_URL
ENV SCORO_URL=$SCORO_URL
RUN expo build:web