Apply suggestions from code review

Co-authored-by: John McBride <jpmmcbride@gmail.com>
This commit is contained in:
Aaron Powell 2025-06-02 13:49:38 +10:00 • committed by GitHub
commit ef6d84933a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,12 +14,10 @@ RUN npm install --no-package-lock
# Build the application
RUN npm run build
ENV CLIENT_PORT=6274
ENV SERVER_PORT=6277
ARG CLIENT_PORT=6274
ARG SERVER_PORT=6277
# Expose the CLIENT_PORT and SERVER_PORT
EXPOSE $CLIENT_PORT
EXPOSE $SERVER_PORT
EXPOSE ${CLIENT_PORT} ${SERVER_PORT}
# Use ENTRYPOINT with CMD for arguments
ENTRYPOINT ["npm", "start"]