-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from RxChin/testing
Add something inside
- Loading branch information
Showing
3 changed files
with
15,214 additions
and
9,140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Use an official Node.js runtime as a parent image | ||
FROM node:14 | ||
|
||
# Set the working directory in the container | ||
WORKDIR /app | ||
|
||
# Copy package.json and package-lock.json to the working directory | ||
COPY package*.json ./ | ||
|
||
# Install application dependencies | ||
RUN npm install | ||
|
||
# Copy the rest of your application code to the container | ||
COPY . . | ||
|
||
ENV PORT=8080 | ||
|
||
# Expose a port (if your application listens on a specific port) | ||
EXPOSE 8080 | ||
|
||
# Define the command to start your application | ||
#CMD ["node", "app.js"] | ||
CMD ["npm", "start"] |
Oops, something went wrong.