Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit 1ca9913

Browse files
committed
changed CMD to write REST_PORT to file in public folder
1 parent 0741fb1 commit 1ca9913

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapp_provider/dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ RUN npm install
1212
COPY . .
1313

1414
EXPOSE 5000
15-
CMD ["npx", "serve","-s","public"]
15+
CMD echo $REST_PORT > /usr/src/app/public/backend.cfg && npx serve -s public

0 commit comments

Comments
 (0)