2022-05-17 23:27:20 +03:00
|
|
|
FROM alpine
|
2022-05-15 12:43:42 +03:00
|
|
|
|
2022-05-18 01:40:22 +03:00
|
|
|
LABEL version="1.4.0"
|
2022-05-15 12:43:42 +03:00
|
|
|
|
2022-05-17 23:27:20 +03:00
|
|
|
# Copy the distribution files
|
|
|
|
COPY ./dist /app
|
2022-05-15 12:43:42 +03:00
|
|
|
|
2022-05-17 23:27:20 +03:00
|
|
|
# Make /app the work directory
|
2022-05-15 12:43:42 +03:00
|
|
|
WORKDIR /app
|
|
|
|
|
2022-05-17 23:27:20 +03:00
|
|
|
# Expose the listening port
|
2022-05-15 12:43:42 +03:00
|
|
|
EXPOSE 8080
|
|
|
|
|
2022-05-17 23:27:20 +03:00
|
|
|
# Run the program
|
|
|
|
ENTRYPOINT ["./freepad"]
|