-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Dockerfileの不要なコメントと空行を削除
miutaku
authored and
miutaku
committed
Jan 26, 2025
1 parent
a2b1452
commit b75e9a1
Showing
1 changed file
with
0 additions
and
15 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 |
---|---|---|
@@ -1,23 +1,8 @@ | ||
# Use the official Node.js image as the base image | ||
FROM node:lts | ||
|
||
# Set the working directory | ||
WORKDIR /app | ||
|
||
# Copy package.json and package-lock.json | ||
COPY twitcasting-manager/package*.json ./ | ||
|
||
# Install dependencies | ||
RUN npm install --legacy-peer-deps | ||
|
||
# Copy the rest of the application code | ||
COPY twitcasting-manager/ ./ | ||
|
||
# Build the application | ||
RUN npm run build | ||
|
||
# Expose the port the app runs on | ||
EXPOSE 3000 | ||
|
||
# Start the application | ||
CMD ["npm", "start"] |