Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated docker file #11

Merged
merged 1 commit into from
Oct 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading