Skip to content

Commit

Permalink
updated docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
mizanmahi committed Oct 20, 2024
1 parent 40f00eb commit e1a9dac
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ jobs:
# creating env file from secret
cd /home/${{secrets.EC2_USER_NAME}}
echo "${{ secrets.APP_ENVS }}" > .env
cat .env
# Run the container
echo "Starting a new container..."
Expand Down
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@

FROM node:20-alpine

# Set the working directory inside the container.

WORKDIR /nextblog

# Copy the package.json and yarn.lock (Yarn lock file) to the container.

COPY package.json yarn.lock ./

# Install dependencies using Yarn.

RUN yarn install --frozen-lockfile

# Copy the rest of the application code to the container.

COPY . .

# Expose the port on which your app will run.

EXPOSE 5000

# Define the command to run your application.
Expand Down
Binary file not shown.
Binary file not shown.
Binary file removed uploads/For-id-card.jpg-1727203007658.jpg
Binary file not shown.
Binary file removed uploads/firoz-bhai.jpg-1724419904110.jpg
Binary file not shown.

0 comments on commit e1a9dac

Please sign in to comment.