Skip to content

Commit

Permalink
get rid of server.sh and append to app.sh instead
Browse files Browse the repository at this point in the history
  • Loading branch information
rochdev committed Jul 24, 2024
1 parent a6b140b commit f9c8a8b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions utils/_context/_scenarios/parametric.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,9 +370,8 @@ def node_library_factory() -> APMLibraryTestServer:
RUN apk add --no-cache bash curl git jq
WORKDIR /usr/app
COPY {nodejs_reldir}/../app.sh /usr/app/
RUN printf '#!/bin/bash\\nnode server.js' > server.sh
RUN printf 'node server.js' >> app.sh
RUN chmod +x app.sh
RUN chmod +x server.sh
COPY {nodejs_reldir}/package.json /usr/app/
COPY {nodejs_reldir}/package-lock.json /usr/app/
COPY {nodejs_reldir}/*.js /usr/app/
Expand Down

0 comments on commit f9c8a8b

Please sign in to comment.