Calc App
This commit is contained in:
16
puffin-calculator-iframe/Dockerfile
Normal file
16
puffin-calculator-iframe/Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM node:16-alpine as build
|
||||
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
# Install a simple HTTP server for serving static content
|
||||
RUN npm install -g http-server
|
||||
|
||||
# Copy application files
|
||||
COPY . .
|
||||
|
||||
# Expose port
|
||||
EXPOSE 8080
|
||||
|
||||
# Command to run the application
|
||||
CMD ["http-server", ".", "-p", "8080", "--cors"]
|
||||
Reference in New Issue
Block a user