mirror of
https://github.com/vegu-ai/talemate.git
synced 2025-12-16 11:47:48 +01:00
17 lines
417 B
Docker
17 lines
417 B
Docker
|
|
# Use an official node runtime as a parent image
|
||
|
|
FROM node:20
|
||
|
|
|
||
|
|
# Set the working directory in the container
|
||
|
|
WORKDIR /app
|
||
|
|
|
||
|
|
# Copy the frontend directory contents into the container at /app
|
||
|
|
COPY ./talemate_frontend /app
|
||
|
|
|
||
|
|
# Install any needed packages specified in package.json
|
||
|
|
RUN npm install
|
||
|
|
|
||
|
|
# Make port 8080 available to the world outside this container
|
||
|
|
EXPOSE 8080
|
||
|
|
|
||
|
|
# Run frontend server
|
||
|
|
CMD ["npm", "run", "serve"]
|