Skip to content

Instantly share code, notes, and snippets.

View lammichael's full-sized avatar

Michael Lam lammichael

View GitHub Profile
@lammichael
lammichael / Dockerfile
Last active February 1, 2022 20:48
Debugging a parcel app, running in Docker, in VS Code
FROM node:10.15.3-alpine
WORKDIR /app
# In package.json I define the serve script as
# "parcel src/index.html --hmr-port 1235"
ENTRYPOINT ["npm", "run", "serve"]