Skip to content

Commit

Permalink
Merge pull request #129 from oss-slu/issue_126
Browse files Browse the repository at this point in the history
Changes necessary to run SIB through Docker
  • Loading branch information
LikhitaPulijala authored May 6, 2024
2 parents b20a084 + 48faef9 commit de7b56a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
22 changes: 22 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
FROM node:18-alpine

# Set the working directory in the container
WORKDIR /app

# Copy package.json and package-lock.json (or yarn.lock)
COPY package.json package-lock.json* ./

# Install dependencies
RUN npm install

# Copy the rest of the application code
COPY . .

# Build the application
RUN npm run build

# The port Next.js will listen on
EXPOSE 3000

# Command to start the Next.js application
CMD ["npm", "start"]
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
"react-swipeable-views": "^0.14.0",
"react-syntax-highlighter": "^15.4.3",
"react-wavesurfer.js": "0.0.5",
"recompose": "^0.17.0",
"recorder-js": "^1.0.7",
"serve": "^14.2.1",
"simplebar": "^5.3.6",
Expand Down

0 comments on commit de7b56a

Please sign in to comment.