Skip to content

Commit a74cebc

Browse files
authored
Update Dockerfile
1 parent 65058e2 commit a74cebc

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

Dockerfile

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1-
# DLC
1+
# Javascript's official image:
2+
FROM javascript::0.1.0
23

3-
# Bitcoin
4+
# Set the working directory inside the container
5+
WORKDIR /app
46

7+
# Copy the DLC logic files into the container
8+
COPY dlc.js
9+
10+
# Build the DLC logic (replace `cargo build` with your actual build command)
11+
RUN npm run --release
12+
13+
# Expose any necessary ports (if applicable)
14+
# EXPOSE 8080
15+
16+
# Define the command to run your DLC logic
17+
CMD ["./target/release/dlc.js"]

0 commit comments

Comments
 (0)