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

Update Dockerfile

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