Skip to content

Commit

Permalink
Merge pull request #191 from kprinssu/slim-docker
Browse files Browse the repository at this point in the history
Switch to current-alpine to slim down Docker builds
  • Loading branch information
Inrixia committed Feb 18, 2024
2 parents 5e75e5d + 0b06f17 commit 81a1da7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:latest AS build
FROM node:current-alpine AS build

# working directory for the build
WORKDIR ${HOME}
Expand All @@ -16,7 +16,7 @@ COPY ./src ${HOME}/src
RUN npx tsc

# Copy built artifacts and dependencies into a minimal release image
FROM node:slim AS release
FROM node:current-alpine AS release

LABEL Description="Project for automatically organizing and downloading Floatplane videos for plex."

Expand All @@ -36,4 +36,4 @@ VOLUME /fp/db
VOLUME /fp/videos

# Runs on container start
CMD node ./dist/float.js
CMD node ./dist/float.js

0 comments on commit 81a1da7

Please sign in to comment.