web3.news-publisher/Dockerfile

18 lines
451 B
Docker
Raw Normal View History

# Use a base image that includes necessary environments (e.g., Node.js)
FROM node:18.17.0
# Install Bun
2023-12-28 06:08:05 +00:00
RUN npm install -g bun
# Set the working directory in the container
2023-12-28 06:04:58 +00:00
WORKDIR /app
# Copy your action's source files to the container
COPY . .
2023-12-28 06:04:31 +00:00
COPY entrypoint.sh /
# Command to run when the Docker container starts
# It assumes the entrypoint is a script that handles the inputs and runs the desired commands
2023-12-28 06:04:31 +00:00
ENTRYPOINT ["sh", "/entrypoint.sh"]