Skip to content

Commit ed13c1f

Browse files
committed
Update Dockerfile to define environment variables for config and tools folder paths
1 parent 1eb0ac2 commit ed13c1f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ USER node
5151

5252
# Copy package.json so that package manager commands can be used.
5353
COPY package.json .
54-
COPY ./config ./config
5554

5655
# Copy the production dependencies from the deps stage and also
5756
# the built application from the build stage into the image.
@@ -61,5 +60,9 @@ COPY --from=build /usr/src/app/build ./build
6160
# Expose the port that the application listens on.
6261
EXPOSE 3000
6362

63+
# Define environment variables for the paths to the configuration and tool folders.
64+
ENV PATH_TO_CONFIG_FOLDER=''
65+
ENV PATH_TO_TOOLS_FOLDER=''
66+
6467
# Run the application.
65-
CMD node build/server-remote.js
68+
ENTRYPOINT ["node", "build/server-remote.js"]

0 commit comments

Comments
 (0)