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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -5
Dockerfile CHANGED
@@ -1,10 +1,7 @@
1
  FROM ghcr.io/engineer-man/piston:latest
2
 
3
- # Set the working directory
4
- WORKDIR /piston
5
-
6
  # Expose the API port
7
  EXPOSE 2000
8
 
9
- # Start the Piston API
10
- CMD ["node", "api"]
 
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"]