mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-02 23:58:04 +00:00
add commit.txt to check commit server was built at
This commit is contained in:
@@ -38,6 +38,10 @@ COPY . .
|
||||
# Build the client-side application
|
||||
RUN npm run build-prod
|
||||
|
||||
# So we can see which commit was used to build the container
|
||||
# openfront.io/commit.txt
|
||||
RUN echo $GIT_COMMIT > static/commit.txt
|
||||
|
||||
# Copy Nginx configuration and ensure it's used instead of the default
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
RUN rm -f /etc/nginx/sites-enabled/default
|
||||
|
||||
Reference in New Issue
Block a user