replace compose with dockerfile
This commit is contained in:
13
dockerfile
Executable file
13
dockerfile
Executable file
@@ -0,0 +1,13 @@
|
||||
# Use the official Deno image as the base image
|
||||
FROM denoland/deno:alpine
|
||||
# Set the working directory inside the container
|
||||
WORKDIR /app
|
||||
|
||||
# Copy the current directory contents into the container
|
||||
COPY . /app
|
||||
|
||||
# Expose the port that the application will run on
|
||||
EXPOSE 6969
|
||||
|
||||
# Set the default command to run the Deno task
|
||||
CMD ["deno", "task", "admin"]
|
||||
Reference in New Issue
Block a user