Fix Docker build for develop and publish a /version file
Fixes https://github.com/vector-im/riot-web/issues/10426
This commit is contained in:
parent
b4829fd3d4
commit
726bf35b76
4 changed files with 34 additions and 1 deletions
|
@ -21,6 +21,9 @@ RUN yarn build
|
|||
# Copy the config now so that we don't create another layer in the app image
|
||||
RUN cp /src/config.sample.json /src/webapp/config.json
|
||||
|
||||
# Ensure we populate the version file
|
||||
RUN dos2unix /src/scripts/docker-write-version.sh && sh /src/scripts/docker-write-version.sh
|
||||
|
||||
|
||||
# App
|
||||
FROM nginx:alpine
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue