Update Dockerfile
Browse files- Dockerfile +5 -2
Dockerfile
CHANGED
@@ -1,7 +1,10 @@
|
|
1 |
FROM ghcr.io/engineer-man/piston:latest
|
2 |
|
3 |
-
#
|
|
|
|
|
|
|
4 |
EXPOSE 2000
|
5 |
|
6 |
-
#
|
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"]
|