Skip to content

Commit

Permalink
Merge pull request #1 from ssvlabs/ci
Browse files Browse the repository at this point in the history
Dockerfile
  • Loading branch information
vaclav-ssvlabs authored Feb 27, 2025
2 parents f2e5e1d + de61e91 commit eebb506
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 106 deletions.
51 changes: 0 additions & 51 deletions .github/workflows/docker.yaml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/mainnet-deploy.yaml.disabled

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/testnet-deploy.yaml

This file was deleted.

21 changes: 21 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Use an official Node.js runtime as the base image
FROM node:23-alpine

# Set the working directory inside the container
WORKDIR /app

# Copy only the dependency files first (for efficient caching)
COPY package.json yarn.lock ./

# Install dependencies
RUN yarn install

# Copy the rest of the application code
COPY . .

# Expose the port (optional, depends on your app configuration)
EXPOSE 5173

# Run the development server
CMD ["yarn", "start"]

0 comments on commit eebb506

Please sign in to comment.