You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Squashed and merge commits. Read the complete list of changes in PR #72
Replaced custom JWT Authentication with firebase Authentication integration
Rewrote test cases with firebase Authentication integration
Disabled auth API endpoint (May be removed in future commits)
Refactored and added firebase Authentication support in the GitHub Actions continuous integration
# The working directory where any subsequent instructions in the Dockerfile will be executed on.
8
+
WORKDIR /app
9
+
10
+
# I want to install dependencies first so they can be cache.
11
+
# Hence, I copy the package.json file first to the work directory for installing the dependencies in the subsequent command (npm install).
12
+
COPY package.json .
13
+
14
+
# Run npm install to install the dependencies specified in package.json
15
+
RUN npm install
16
+
17
+
# After the dependencies are installed, I copy over the source code of the web application to the current working directory.
18
+
# Note: In this case, I add .dockerignore file (similar to .gitignore) and add node_modules to the .dockerignore file so that my local node_modules directory will not be copied to the container's working directory.
0 commit comments