Prajith04 commited on
Commit
f2e8d7f
·
verified ·
1 Parent(s): d68d8c7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -1,7 +1,11 @@
 
1
  FROM ghcr.io/engineer-man/piston:latest
2
 
 
 
 
3
  # Expose the API port
4
  EXPOSE 2000
5
 
6
- # Start Piston API
7
  CMD ["piston", "serve"]
 
1
+ # Use the official Piston image as the base
2
  FROM ghcr.io/engineer-man/piston:latest
3
 
4
+ # Set the working directory
5
+ WORKDIR /piston
6
+
7
  # Expose the API port
8
  EXPOSE 2000
9
 
10
+ # Start the Piston API
11
  CMD ["piston", "serve"]